aboutsummaryrefslogtreecommitdiffstats
path: root/config/StdGNU.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-03-17 11:02:40 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-03-17 11:02:40 +0000
commite78de9b54af8c678547146555feeeca765ae18fe (patch)
tree70352587584bbd2a1840ae7b78ccf9f70b4c768f /config/StdGNU.mk
parentb88139c68ef96b51e07fc019807a86052d29e986 (diff)
downloadxen-e78de9b54af8c678547146555feeeca765ae18fe.tar.gz
xen-e78de9b54af8c678547146555feeeca765ae18fe.tar.bz2
xen-e78de9b54af8c678547146555feeeca765ae18fe.zip
Add -fno-optimize-sibling-calls to debug CFLAGS. Also get rid of ?=
assignment to CFLAGS. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'config/StdGNU.mk')
-rw-r--r--config/StdGNU.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/StdGNU.mk b/config/StdGNU.mk
index 82a99d3f11..c020357654 100644
--- a/config/StdGNU.mk
+++ b/config/StdGNU.mk
@@ -41,9 +41,8 @@ SONAME_LDFLAG = -soname
SHLIB_CFLAGS = -shared
ifneq ($(debug),y)
-# Optimisation flags are overridable
-CFLAGS ?= -O2 -fomit-frame-pointer
+CFLAGS += -O2 -fomit-frame-pointer
else
# Less than -O1 produces bad code and large stack frames
-CFLAGS ?= -O1 -fno-omit-frame-pointer
+CFLAGS += -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls
endif