direct-io.hg
changeset 10217:ceaae8fbe3f7
[IA64] fix AFLAGS again
"AFLAGS = -nostdinc $CPPFLAGS" is removed
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
"AFLAGS = -nostdinc $CPPFLAGS" is removed
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author | awilliam@xenbuild.aw |
---|---|
date | Wed May 24 16:44:20 2006 -0600 (2006-05-24) |
parents | c7e8d1673140 |
children | 7c406cefc1aa |
files | xen/arch/ia64/Rules.mk |
line diff
1.1 --- a/xen/arch/ia64/Rules.mk Wed May 24 11:04:33 2006 -0600 1.2 +++ b/xen/arch/ia64/Rules.mk Wed May 24 16:44:20 2006 -0600 1.3 @@ -11,25 +11,25 @@ CROSS_COMPILE ?= /usr/local/sp_env/v2.2. 1.4 endif 1.5 1.6 # Used only by linux/Makefile. 1.7 -AFLAGS_KERNEL += -mconstant-gp 1.8 +AFLAGS_KERNEL += -mconstant-gp -nostdinc $(CPPFLAGS) 1.9 1.10 # Note: .S -> .o rule uses AFLAGS and CFLAGS. 1.11 1.12 -CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing 1.13 -CFLAGS += -mconstant-gp 1.14 +CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing 1.15 +CFLAGS += -mconstant-gp 1.16 #CFLAGS += -O3 # -O3 over-inlines making debugging tough! 1.17 -CFLAGS += -O2 # but no optimization causes compile errors! 1.18 -CFLAGS += -fomit-frame-pointer -D__KERNEL__ 1.19 -CFLAGS += -iwithprefix include 1.20 -CPPFLAGS+= -I$(BASEDIR)/include \ 1.21 - -I$(BASEDIR)/include/asm-ia64 \ 1.22 - -I$(BASEDIR)/include/asm-ia64/linux \ 1.23 - -I$(BASEDIR)/include/asm-ia64/linux-xen \ 1.24 +CFLAGS += -O2 # but no optimization causes compile errors! 1.25 +CFLAGS += -fomit-frame-pointer -D__KERNEL__ 1.26 +CFLAGS += -iwithprefix include 1.27 +CPPFLAGS+= -I$(BASEDIR)/include \ 1.28 + -I$(BASEDIR)/include/asm-ia64 \ 1.29 + -I$(BASEDIR)/include/asm-ia64/linux \ 1.30 + -I$(BASEDIR)/include/asm-ia64/linux-xen \ 1.31 -I$(BASEDIR)/include/asm-ia64/linux-null \ 1.32 - -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen 1.33 -CFLAGS += $(CPPFLAGS) 1.34 + -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen 1.35 +CFLAGS += $(CPPFLAGS) 1.36 #CFLAGS += -Wno-pointer-arith -Wredundant-decls 1.37 -CFLAGS += -DIA64 -DXEN -DLINUX_2_6 -DV_IOSAPIC_READY 1.38 +CFLAGS += -DIA64 -DXEN -DLINUX_2_6 -DV_IOSAPIC_READY 1.39 CFLAGS += -ffixed-r13 -mfixed-range=f2-f5,f12-f127 1.40 CFLAGS += -g 1.41 #CFLAGS += -DVTI_DEBUG