summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 8a3636cc7..89fded38f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -381,10 +381,10 @@ CFLAGS += -O0 -g3
else
CFLAGS += $(OPTIMIZATION) $(XARCH_CFLAGS)
endif
-ifeq ($(NOSTRIP),y)
-STRIPTOOL := true -Stripping_disabled
-else
+ifeq ($(DOSTRIP),y)
LDFLAGS += -s
+else
+STRIPTOOL := true -Stripping_disabled
endif
ifeq ($(DOMULTI),y)