summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'test/Rules.mak')
-rw-r--r--test/Rules.mak6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 492b99706..6acc13ffa 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-#
-# Note: This does not read the top level Rules.mak file
-#
+.SUFFIXES:
top_builddir ?= ../
@@ -67,7 +65,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