tests/checkasm/Makefile: Fix checkasm with SDL

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-07-21 15:55:05 +02:00
parent aee909acfb
commit 593731efa8
1 changed files with 1 additions and 1 deletions

View 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)