]> git.sesse.net Git - ffmpeg/commitdiff
library.mak: Put -Umain back for tests
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Jun 2016 14:22:36 +0000 (16:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Jun 2016 14:32:08 +0000 (16:32 +0200)
Fixes build on mingw32 with SDL

reverts one line from 96d616052b3d39678e477fa10610ca688f46fff9

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
library.mak

index cc4b498df9bf05ec022ca0acc23b708b18968b23..5bfa796ef1ae0b7e13a0d702860e73d518bed47e 100644 (file)
@@ -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) $@