From c43bcba21546a1e65e1422b44de746f1671e076c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 30 Jul 2008 20:37:13 -0400 Subject: Don't allow CFLAGS to be set from commandline. Some build systems try to override CFLAGS, but this project needs it to be set explicitly. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63b2f51..16d3882 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ COMMONCFLAGS += $(call cc-option,$(CC),-nopie,) COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) -CFLAGS = $(COMMONCFLAGS) -g -DMODE16=0 +override CFLAGS = $(COMMONCFLAGS) -g -DMODE16=0 CFLAGS16INC = $(COMMONCFLAGS) -DMODE16=1 -fno-jump-tables -fno-defer-pop \ $(call cc-option,$(CC),--param large-stack-frame=8,) CFLAGS16 = $(CFLAGS16INC) -g -- cgit v1.1