From 77ba4a784302d61eaf89e640f17e6b6ab5ac8fa6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 1 Jun 2016 16:22:36 +0200 Subject: [PATCH] library.mak: Put -Umain back for tests Fixes build on mingw32 with SDL reverts one line from 96d616052b3d39678e477fa10610ca688f46fff9 Signed-off-by: Michael Niedermayer --- library.mak | 1 + 1 file changed, 1 insertion(+) diff --git a/library.mak b/library.mak index cc4b498df9..5bfa796ef1 100644 --- a/library.mak +++ b/library.mak @@ -21,6 +21,7 @@ $(SUBDIR)x86/%.o: $(SUBDIR)x86/%$(YASMD).asm LIBOBJS := $(OBJS) $(SUBDIR)%.h.o $(TESTOBJS) $(LIBOBJS) $(LIBOBJS:.o=.s) $(LIBOBJS:.o=.i): CPPFLAGS += -DHAVE_AV_CONFIG_H +$(TESTOBJS) $(TESTOBJS:.o=.i): CFLAGS += -Umain $(SUBDIR)$(LIBNAME): $(OBJS) $(RM) $@