[asterisk-commits] tzafrir: branch 12 r409346 - in /branches/12: ./ Makefile.rules

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Mar 2 09:14:50 CST 2014


Author: tzafrir
Date: Sun Mar  2 09:14:45 2014
New Revision: 409346

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409346
Log:
Makefile: replace -O6 with -O3

-O6 is not a legal option of gcc. Unofficially gcc considers it to be
equivalent of -O3. clang chalks on it, though. This commit sets the 
default optimization flag to be -O3, like gcc actually considered it.

Review: https://reviewboard.asterisk.org/r/3280/
........

Merged revisions 409308 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 409344 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    branches/12/   (props changed)
    branches/12/Makefile.rules

Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: branches/12/Makefile.rules
URL: http://svnview.digium.com/svn/asterisk/branches/12/Makefile.rules?view=diff&rev=409346&r1=409345&r2=409346
==============================================================================
--- branches/12/Makefile.rules (original)
+++ branches/12/Makefile.rules Sun Mar  2 09:14:45 2014
@@ -35,7 +35,7 @@
     CMD_PREFIX=
 endif
 
-OPTIMIZE?=-O6
+OPTIMIZE?=-O3
 ifneq ($(findstring darwin,$(OSARCH)),)
   ifeq ($(shell if test `/usr/bin/sw_vers -productVersion | cut -c4` -gt 5; then echo 6; else echo 0; fi),6)
     # Snow Leopard/Lion has an issue with this optimization flag on large files (like chan_sip)




More information about the asterisk-commits mailing list