On Fri, Jun 19, 2015 at 02:17:53AM -0300, James Almer wrote: > On 18/06/15 8:06 PM, Michael Niedermayer wrote: > > -Umain does not work as SDL adds its defines afterwards > > You could add -Umain to CFLAGS then, something like > > diff --git a/library.mak b/library.mak > index 7c26024..29460b8 100644 > --- a/library.mak > +++ b/library.mak > @@ -34,6 +34,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): CPPFLAGS += -DTEST > +$(TESTOBJS) $(TESTOBJS:.o=.i): CFLAGS += -Umain
applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB You can kill me, but you cannot change the truth.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel