Mailing List Archive

Fix calls to test-gcc-flag, to match previous changeset.
# HG changeset patch
# User emellor@leeni.uk.xensource.com
# Node ID 25d0ba51338eb8dd6446cc2083ee34d89a6f6fcf
# Parent 5fc47ed682d66a5ac36496846507d501a0ec902d
Fix calls to test-gcc-flag, to match previous changeset.

Signed-off-by: Ewan Mellor <ewan@xensource.com>

diff -r 5fc47ed682d6 -r 25d0ba51338e xen/arch/x86/Rules.mk
--- a/xen/arch/x86/Rules.mk Wed Dec 14 12:22:24 2005
+++ b/xen/arch/x86/Rules.mk Wed Dec 14 12:52:02 2005
@@ -21,9 +21,9 @@
CFLAGS += -msoft-float

# Disable PIE/SSP if GCC supports them. They can break us.
-CFLAGS += $(call test-gcc-flag,-nopie)
-CFLAGS += $(call test-gcc-flag,-fno-stack-protector)
-CFLAGS += $(call test-gcc-flag,-fno-stack-protector-all)
+CFLAGS += $(call test-gcc-flag,$(CC),-nopie)
+CFLAGS += $(call test-gcc-flag,$(CC),-fno-stack-protector)
+CFLAGS += $(call test-gcc-flag,$(CC),-fno-stack-protector-all)

ifeq ($(TARGET_SUBARCH),x86_32)
CFLAGS += -m32 -march=i686

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog