aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-07-30 20:37:13 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-07-30 20:37:13 -0400
commitc43bcba21546a1e65e1422b44de746f1671e076c (patch)
treee1c52428540f907035bba766d30861a2e27c65a9
parent7481a303b6b877911717aa90bab84ab18618c463 (diff)
downloadseabios-hppa-c43bcba21546a1e65e1422b44de746f1671e076c.zip
seabios-hppa-c43bcba21546a1e65e1422b44de746f1671e076c.tar.gz
seabios-hppa-c43bcba21546a1e65e1422b44de746f1671e076c.tar.bz2
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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