diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2006-02-22 11:41:17 +0000 |
---|---|---|
committer | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2006-02-22 11:41:17 +0000 |
commit | f58f2ddacc7a66415b8b3d7029a28c338e833e9f (patch) | |
tree | 70b3893ff01f1f1237784dbc79c0101b8f359212 /Rules.mak | |
parent | e89c8ed01e42b2c18cccfd03920702e43668e62e (diff) |
Made it possible to build without stripping the binaries.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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) |