there is no reason to explicity specify -fomit-frame-pointer when building with
authorRussell Bryant <russell@russellbryant.com>
Fri, 19 May 2006 19:10:06 +0000 (19:10 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 19 May 2006 19:10:06 +0000 (19:10 +0000)
optimization enabled, because it is enabled automatically (issue #7108, casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28789 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index e1c2aef..6a8df04 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -265,9 +265,6 @@ else
 endif
 
 ASTCFLAGS+=$(MALLOC_DEBUG)$(BUSYDETECT)$(OPTIONS)
-ifeq ($(findstring dont-optimize,$(MAKECMDGOALS)),)
-ASTCFLAGS+=-fomit-frame-pointer
-endif
 
 MOD_SUBDIRS=res channels pbx apps codecs formats cdr funcs
 OTHER_SUBDIRS=utils stdtime agi