pass more ld flags
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 25 Nov 2009 14:40:35 +0000 (15:40 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 25 Nov 2009 14:40:35 +0000 (15:40 +0100)
add -z defs,now

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
test/Rules.mak

index 492b997..cced193 100644 (file)
@@ -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