aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/Rules.mk
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-09-25 09:36:11 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-09-25 09:36:11 +0100
commit3bcf69a3b6fe4ce4f9cb36f69015a4b2f78c864e (patch)
tree744cef44ca1828004bbdccb0d49a2d3da2e5a3ae /xen/arch/x86/Rules.mk
parentcd741d6d73594f00e1aa9f3dbe2296c4b29f4e9a (diff)
downloadxen-3bcf69a3b6fe4ce4f9cb36f69015a4b2f78c864e.tar.gz
xen-3bcf69a3b6fe4ce4f9cb36f69015a4b2f78c864e.tar.bz2
xen-3bcf69a3b6fe4ce4f9cb36f69015a4b2f78c864e.zip
Consolidate the preferable use of a pragma with the feature detection
in the make script. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r--xen/arch/x86/Rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index 32c8e02695..176d6aebf4 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -44,7 +44,7 @@ CFLAGS += -mno-red-zone -fpic -fno-reorder-blocks
CFLAGS += -fno-asynchronous-unwind-tables
# -fvisibility=hidden reduces -fpic cost, if it's available
CFLAGS += $(shell $(CC) -v --help 2>&1 | grep " -fvisibility=" | \
- grep -q hidden && echo "-fvisibility=hidden")
+ grep -q hidden && echo "-DGCC_HAS_VISIBILITY_ATTRIBUTE")
LDFLAGS += -m elf_x86_64
x86_32 := n
x86_64 := y