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 483ad13..4c0ffab 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)