summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 11:41:17 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 11:41:17 +0000
commitf58f2ddacc7a66415b8b3d7029a28c338e833e9f (patch)
tree70b3893ff01f1f1237784dbc79c0101b8f359212 /Rules.mak
parente89c8ed01e42b2c18cccfd03920702e43668e62e (diff)
Made it possible to build without stripping the binaries.
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)