From 0394b57cda6f09f2d45feaf5a4f9dc62d6798c23 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 17 Mar 2011 19:15:42 +0000 Subject: 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 Committed-by: Ian Jackson --- tools/Rules.mk | 3 --- 1 file changed, 3 deletions(-) (limited to 'tools/Rules.mk') 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) -- cgit v1.2.3