Commit 77ba4a78 authored by Michael Niedermayer's avatar Michael Niedermayer

library.mak: Put -Umain back for tests

Fixes build on mingw32 with SDL

reverts one line from 96d61605Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 785038c9
......@@ -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) $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment