aboutsummaryrefslogtreecommitdiffstats
path: root/library.mak
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-06-01 16:22:36 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-01 16:32:08 +0200
commit77ba4a784302d61eaf89e640f17e6b6ab5ac8fa6 (patch)
tree46c8fae435b4a66d8e6883699a5c9e72b5398f49 /library.mak
parent785038c92cc7fc1da437576382083246ca598fce (diff)
downloadffmpeg-77ba4a784302d61eaf89e640f17e6b6ab5ac8fa6.tar.gz
library.mak: Put -Umain back for tests
Fixes build on mingw32 with SDL reverts one line from 96d616052b3d39678e477fa10610ca688f46fff9 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'library.mak')
-rw-r--r--library.mak1
1 files changed, 1 insertions, 0 deletions
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) $@