diff options
author | Keir Fraser <keir@xensource.com> | 2007-07-07 10:31:15 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-07-07 10:31:15 +0100 |
commit | 43aa5ed8c07cf9772cea872cde6adb6c4eef6095 (patch) | |
tree | 053fb33a0df970301b7a057bccc3d9300e9a3425 /xen/arch/x86/Rules.mk | |
parent | 6cd1c1ec4490760495eb9d1836abf27efc26c2d0 (diff) | |
download | xen-43aa5ed8c07cf9772cea872cde6adb6c4eef6095.tar.gz xen-43aa5ed8c07cf9772cea872cde6adb6c4eef6095.tar.bz2 xen-43aa5ed8c07cf9772cea872cde6adb6c4eef6095.zip |
Specify -fno-strict-aliasing in root build config file.
Fixes correctness issues with xenstored and gcc-4.2.
Original patch by Charles Coffing <ccoffing@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r-- | xen/arch/x86/Rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index 97e376a4ab..9296afd9d9 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -17,7 +17,7 @@ ifneq ($(XEN_OS),SunOS) CFLAGS += -nostdinc endif -CFLAGS += -fno-builtin -fno-common -fno-strict-aliasing +CFLAGS += -fno-builtin -fno-common CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe CFLAGS += -I$(BASEDIR)/include CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic |