diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-07-27 12:59:36 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-07-27 12:59:36 +0100 |
commit | 65bb7cea2717b5f2057ebbc75d8f20df9271b435 (patch) | |
tree | b13d5d501aecb71befb7146c2da40a610d1b765e /Config.mk | |
parent | 28683978a7beec6a2f98fc2a05cf18302a5a15a7 (diff) | |
download | xen-65bb7cea2717b5f2057ebbc75d8f20df9271b435.tar.gz xen-65bb7cea2717b5f2057ebbc75d8f20df9271b435.tar.bz2 xen-65bb7cea2717b5f2057ebbc75d8f20df9271b435.zip |
Build Xen with at least -O1 to avoid very large stack frames.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'Config.mk')
-rw-r--r-- | Config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,8 @@ ifneq ($(debug),y) CFLAGS ?= -O2 -fomit-frame-pointer CFLAGS += -DNDEBUG else +# Less than -O1 produces bad code and large stack frames +CFLAGS ?= -O1 -fno-omit-frame-pointer CFLAGS += -g endif |