[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix calls to test-gcc-flag, to match previous changeset.



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

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.