ia64/xen-unstable

changeset 17216:b0fe56f7b190

Add -fno-optimize-sibling-calls to debug CFLAGS. Also get rid of ?=
assignment to CFLAGS.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Mar 17 11:02:40 2008 +0000 (2008-03-17)
parents f71f2bcb6cd6
children 9f6117e9d7d9
files config/StdGNU.mk config/SunOS.mk
line diff
     1.1 --- a/config/StdGNU.mk	Mon Mar 17 10:58:29 2008 +0000
     1.2 +++ b/config/StdGNU.mk	Mon Mar 17 11:02:40 2008 +0000
     1.3 @@ -41,9 +41,8 @@ SONAME_LDFLAG = -soname
     1.4  SHLIB_CFLAGS = -shared
     1.5  
     1.6  ifneq ($(debug),y)
     1.7 -# Optimisation flags are overridable
     1.8 -CFLAGS ?= -O2 -fomit-frame-pointer
     1.9 +CFLAGS += -O2 -fomit-frame-pointer
    1.10  else
    1.11  # Less than -O1 produces bad code and large stack frames
    1.12 -CFLAGS ?= -O1 -fno-omit-frame-pointer
    1.13 +CFLAGS += -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls
    1.14  endif
     2.1 --- a/config/SunOS.mk	Mon Mar 17 10:58:29 2008 +0000
     2.2 +++ b/config/SunOS.mk	Mon Mar 17 11:02:40 2008 +0000
     2.3 @@ -45,11 +45,10 @@ SONAME_LDFLAG = -h
     2.4  SHLIB_CFLAGS = -R $(SunOS_LIBDIR) -shared
     2.5  
     2.6  ifneq ($(debug),y)
     2.7 -# Optimisation flags are overridable
     2.8 -CFLAGS ?= -O2 -fno-omit-frame-pointer
     2.9 +CFLAGS += -O2 -fno-omit-frame-pointer
    2.10  else
    2.11  # Less than -O1 produces bad code and large stack frames
    2.12 -CFLAGS ?= -O1 -fno-omit-frame-pointer
    2.13 +CFLAGS += -O1 -fno-omit-frame-pointer
    2.14  endif
    2.15  
    2.16  CFLAGS += -Wa,--divide -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__