]> git.sesse.net Git - ffmpeg/commitdiff
tests/checkasm/Makefile: Fix checkasm with SDL
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 21 Jul 2015 13:55:05 +0000 (15:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 21 Jul 2015 13:55:05 +0000 (15:55 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/checkasm/Makefile

index 483ad136f0c14b00f1282266220b822c2773d589..4c0ffab884b7d0de4df66cab7a76512da7cf149c 100644 (file)
@@ -18,7 +18,7 @@ $(CHECKASMOBJS): | $(CHECKASMDIRS)
 OBJDIRS += $(CHECKASMDIRS)
 
 # We rely on function pointers intentionally declared without specified argument types.
-tests/checkasm/%.o: CFLAGS := $(CFLAGS:-Wstrict-prototypes=-Wno-strict-prototypes)
+tests/checkasm/%.o: CFLAGS := $(CFLAGS:-Wstrict-prototypes=-Wno-strict-prototypes) -Umain
 
 CHECKASM := tests/checkasm/checkasm$(EXESUF)