summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-13 23:36:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-17 20:35:20 +0100
commitf72e003a5f168a32a77ee9248b2169b1e11d5198 (patch)
tree8ff057a776edcbd3572b85aa62edbb748b63186b
parent78443c6a541b807f912f33ef01857acd079559c4 (diff)
only strip test binaries when DOSTRIP is enabled
-rw-r--r--test/Rules.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index c5d1d636c..86ea855f4 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -91,7 +91,9 @@ ifeq ($(DODEBUG),y)
HOST_CFLAGS += -g
LDFLAGS += -Wl,-g
HOST_LDFLAGS += -Wl,-g
-else
+endif
+
+ifeq ($(DOSTRIP),y)
LDFLAGS += -Wl,-s
HOST_LDFLAGS += -Wl,-s
endif