aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2df5aa2c..2cbea427 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ LD = gcc
AR = ar
PKG_CONFIG = pkg-config
CHECKER = ./cgcc -no-compile
-CHECKER_FLAGS =
+CHECKER_FLAGS = -Wno-vla
HAVE_LIBXML:=$(shell $(PKG_CONFIG) --exists libxml-2.0 2>/dev/null && echo 'yes')
HAVE_GCC_DEP:=$(shell touch .gcc-test.c && \
@@ -186,8 +186,6 @@ DEPS := $(OBJS:%.o=.%.o.d)
-include $(DEPS)
-pre-process.sc: CHECKER_FLAGS += -Wno-vla
-
cflags += $($(*)-cflags) $(CPPFLAGS) $(CFLAGS)
%.o: %.c
$(QUIET_CC)$(CC) $(cflags) -c -o $@ $<