[asterisk-commits] seanbright: branch 1.4 r220717 - /branches/1.4/Makefile.rules

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 28 14:09:28 CDT 2009


Author: seanbright
Date: Mon Sep 28 14:09:25 2009
New Revision: 220717

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220717
Log:
When selecting DONT_OPTIMIZE in menuselect, explicitly pass -O0 to the compiler
so we override any default optimization levels for a particular install.

Modified:
    branches/1.4/Makefile.rules

Modified: branches/1.4/Makefile.rules
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/Makefile.rules?view=diff&rev=220717&r1=220716&r2=220717
==============================================================================
--- branches/1.4/Makefile.rules (original)
+++ branches/1.4/Makefile.rules Mon Sep 28 14:09:25 2009
@@ -39,6 +39,8 @@
 
 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




More information about the asterisk-commits mailing list