diff options
author | Sean Bright <sean@malleable.com> | 2009-09-28 19:11:20 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-09-28 19:11:20 +0000 |
commit | c8a141905e0fb27ec036ad89a3f25ad1dc21a2d6 (patch) | |
tree | 9542311d20d1f1b5f3fad88ee0c93f6f59ac97cd /Makefile.rules | |
parent | 05f94a05c222943cc7c54c930a345e97bfe408d2 (diff) |
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: https://origsvn.digium.com/svn/asterisk/trunk@220721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index d7d19c610..76bf0eeff 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 |