From ced4624dae15ead098995a151440c1d80d355a44 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 5 Oct 2011 05:12:21 +0000 Subject: enable setting STRIP from the global package-specific Makefile and set STRIP=echo to keep debug symbols svn path=/trunk/; revision=15506 --- packages/darwin_app/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'packages/darwin_app/Makefile') diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index 160a27e2..aa205e2c 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -23,6 +23,10 @@ WISH_NAME := $(shell ( test -d $(WISH_SOURCE)/Wish.app && echo Wish) \ WISH = "$(WISH_SOURCE)/$(WISH_NAME).app" WISH_CONTENTS = "$(WISH)/Contents" +# to control whether the debug symbols are kept +#STRIP = strip -x +STRIP = echo + # CPU-specific gleaned from: # http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/ # http://hpc.sourceforge.net/ @@ -54,7 +58,8 @@ DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ DESTDIR=$(DESTDIR) \ OPT_CFLAGS="$(OPT_CFLAGS)" \ FAT_FLAGS="$(FAT_FLAGS)" \ - UNAME=$(UNAME) + UNAME=$(UNAME) \ + STRIP="$(STRIP)" all: $(MAKE) -C $(packages_src) $(DEST_PATHS) -- cgit v1.2.1