From 96e0cea2e3cf39a0ed3d92aa0b69e5acebb93c22 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 16 Nov 2011 16:57:18 +0000 Subject: streamlined global debug flags and added -fno-inline-functions for valgrind svn path=/trunk/; revision=15771 --- packages/darwin_app/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'packages/darwin_app/Makefile') diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index 634ce04b..22392ace 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -27,11 +27,12 @@ WISH_CONTENTS = "$(WISH)/Contents" #STRIP = strip -x STRIP = echo +DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE + # CPU-specific gleaned from: # http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/ # http://hpc.sourceforge.net/ - -OPT_CFLAGS = -fast -fPIC -ftree-vectorize -ftree-vectorizer-verbose=1 -g +OPT_CFLAGS = -fast -fPIC -ftree-vectorize -ftree-vectorizer-verbose=1 # which CPU to compile for TARGET_PLATFORM := $(shell uname -p) @@ -46,7 +47,7 @@ else OPT_CFLAGS += -mcpu=7450 -mtune=7450 endif -OPT_FLAGS += -DDEBUG_SOUNDFILE +OPT_CFLAGS += $(DEBUG_CFLAGS) # these are sent to all of the various Makefiles so that they all copy their # output to the same directory tree -- cgit v1.2.1