[git commit master] pass more ld flags

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Nov 25 14:42:50 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=096b5ecfae507cd1b5839ce6de6cbb73d78cd3b6
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

add -z defs,now

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 test/Rules.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/Rules.mak b/test/Rules.mak
index 492b997..cced193 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -67,7 +67,7 @@ CFLAGS         += $(OPTIMIZATION) $(CPU_CFLAGS) $(XWARNINGS)
 # Just adding -Os for now.
 HOST_CFLAGS    += $(XCOMMON_CFLAGS) -Os $(XWARNINGS)
 
-LDFLAGS        := $(CPU_LDFLAGS-y)
+LDFLAGS        := $(CPU_LDFLAGS-y) -Wl,-z,defs -Wl,-z,now
 ifeq ($(DODEBUG),y)
 	CFLAGS        += -g
 	HOST_CFLAGS   += -g
-- 
1.6.3.3



More information about the uClibc-cvs mailing list