summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 492b99706..cced19397 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