aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Rules.mk
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-03-17 19:15:42 +0000
committerIan Campbell <ian.campbell@citrix.com>2011-03-17 19:15:42 +0000
commit0394b57cda6f09f2d45feaf5a4f9dc62d6798c23 (patch)
treee15ead99f6e888cc87aa0555a1e18a240f36f270 /tools/Rules.mk
parent10128bdb23b42d84545c29c5e6864463183fd9b4 (diff)
downloadxen-0394b57cda6f09f2d45feaf5a4f9dc62d6798c23.tar.gz
xen-0394b57cda6f09f2d45feaf5a4f9dc62d6798c23.tar.bz2
xen-0394b57cda6f09f2d45feaf5a4f9dc62d6798c23.zip
tools: support building with --as-needed
Tested by forcing --as-needed via tools/Rules.mk but this is included since the intention is simply to support diustros which default to --as-needed, not to enable it everywhere. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/Rules.mk')
-rw-r--r--tools/Rules.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/Rules.mk b/tools/Rules.mk
index 6249573c5b..e740799e58 100644
--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -65,9 +65,6 @@ CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
LDFLAGS += $(shell getconf LFS_LDFLAGS)
endif
-# Xen tools build is currently incompatible with ld --as-needed
-LDFLAGS += -Wl,--no-as-needed
-
# 32-bit x86 does not perform well with -ve segment accesses on Xen.
CFLAGS-$(CONFIG_X86_32) += $(call cc-option,$(CC),-mno-tls-direct-seg-refs)
CFLAGS += $(CFLAGS-y)