|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Add -fno-optimize-sibling-calls to debug
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205751760 0
# Node ID b0fe56f7b19031aaac442ab3ddff0c43a2169f9f
# Parent f71f2bcb6cd660e9a610e9e197b2d7e38af9e542
Add -fno-optimize-sibling-calls to debug CFLAGS. Also get rid of ?=
assignment to CFLAGS.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
config/StdGNU.mk | 5 ++---
config/SunOS.mk | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff -r f71f2bcb6cd6 -r b0fe56f7b190 config/StdGNU.mk
--- a/config/StdGNU.mk Mon Mar 17 10:58:29 2008 +0000
+++ b/config/StdGNU.mk Mon Mar 17 11:02:40 2008 +0000
@@ -41,9 +41,8 @@ SHLIB_CFLAGS = -shared
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
diff -r f71f2bcb6cd6 -r b0fe56f7b190 config/SunOS.mk
--- a/config/SunOS.mk Mon Mar 17 10:58:29 2008 +0000
+++ b/config/SunOS.mk Mon Mar 17 11:02:40 2008 +0000
@@ -45,11 +45,10 @@ SHLIB_CFLAGS = -R $(SunOS_LIBDIR) -share
SHLIB_CFLAGS = -R $(SunOS_LIBDIR) -shared
ifneq ($(debug),y)
-# Optimisation flags are overridable
-CFLAGS ?= -O2 -fno-omit-frame-pointer
+CFLAGS += -O2 -fno-omit-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
endif
CFLAGS += -Wa,--divide -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Add -fno-optimize-sibling-calls to debug CFLAGS. Also get rid of ?=,
Xen patchbot-unstable <=
|
|
|
|
|