]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 220721 via svnmerge from
authorSean Bright <sean@malleable.com>
Mon, 28 Sep 2009 19:13:55 +0000 (19:13 +0000)
committerSean Bright <sean@malleable.com>
Mon, 28 Sep 2009 19:13:55 +0000 (19:13 +0000)
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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@220724 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile.rules

index 5e7799f00646288fdfac798e75415d7b4a766931..55cf0bc7187e639b1bca38808b5160ea3e9a8c37 100644 (file)
@@ -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