aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-28 19:13:58 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-28 19:13:58 +0000
commit3a1bbc4f1448ea2ef16beb16d277df192c0d8c8a (patch)
tree69288d5685011200ea4c477a76ef7204b54b17eb
parent3b8eb12249acc807bcf9c371b10cd39c98668657 (diff)
Merged revisions 220721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r220721 | seanbright | 2009-09-28 15:11:20 -0400 (Mon, 28 Sep 2009) | 10 lines Merged revisions 220717 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r220717 | seanbright | 2009-09-28 15:09:25 -0400 (Mon, 28 Sep 2009) | 3 lines When selecting DONT_OPTIMIZE in menuselect, explicitly pass -O0 to the compiler so we override any default optimization levels for a particular install. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@220725 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 5e7799f00..55cf0bc71 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -39,6 +39,8 @@ OPTIMIZE?=-O6
ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
_ASTCFLAGS+=$(OPTIMIZE)
+else
+ _ASTCFLAGS+=-O0
endif
# shortcuts for common combinations of flags; these must be recursively expanded so that