From f58f2ddacc7a66415b8b3d7029a28c338e833e9f Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Wed, 22 Feb 2006 11:41:17 +0000 Subject: Made it possible to build without stripping the binaries. --- Rules.mak | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Rules.mak') 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) -- cgit v1.2.3