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/linux_make/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/linux_make/Makefile') diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile index f7372d0e..80b06617 100755 --- a/packages/linux_make/Makefile +++ b/packages/linux_make/Makefile @@ -32,7 +32,8 @@ endif #STRIP = strip --strip-unneeded -R .note -R .comment STRIP = echo -OPT_CFLAGS = -g +DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE +OPT_CFLAGS = TARGET_PLATFORM := $(shell uname -m) ifeq ($(TARGET_PLATFORM),i686) @@ -47,6 +48,8 @@ ifeq ($(TARGET_PLATFORM),ppc) OPT_CFLAGS += -pipe -fsigned-char -mpowerpc endif +OPT_CFLAGS += $(DEBUG_CFLAGS) + # lots more here: http://www.gentoo.se/docs/doc-cflags.php # these are sent to all of the various Makefiles so that they all copy their -- cgit v1.2.1