summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak13
1 files changed, 8 insertions, 5 deletions
diff --git a/Rules.mak b/Rules.mak
index a3a1b5f50..15f900fe6 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -355,12 +355,15 @@ endif
LDFLAGS:=$(LDFLAGS_NOSTRIP) -z defs
ifeq ($(DODEBUG),y)
- #CFLAGS += -g3
- CFLAGS += -O0 -g3
- STRIPTOOL:= true -Since_we_are_debugging
+#CFLAGS += -g3
+CFLAGS += -O0 -g3
else
- CFLAGS += $(OPTIMIZATION) $(XARCH_CFLAGS)
- LDFLAGS += -s
+CFLAGS += $(OPTIMIZATION) $(XARCH_CFLAGS)
+endif
+ifeq ($(NOSTRIP),y)
+STRIPTOOL := true -Stripping_disabled
+else
+LDFLAGS += -s
endif
ifeq ($(DOMULTI),y)