[asterisk-addons-commits] tilghman: branch 1.6.1 r935 - in /branches/1.6.1: ./ Makefile.rules
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Wed May 27 16:54:02 CDT 2009
Author: tilghman
Date: Wed May 27 16:53:59 2009
New Revision: 935
URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=935
Log:
Merged revisions 933 via svnmerge from
https://origsvn.digium.com/svn/asterisk-addons/trunk
................
r933 | tilghman | 2009-05-27 16:52:25 -0500 (Wed, 27 May 2009) | 9 lines
Merged revisions 932 via svnmerge from
https://origsvn.digium.com/svn/asterisk-addons/branches/1.4
........
r932 | tilghman | 2009-05-27 16:51:27 -0500 (Wed, 27 May 2009) | 2 lines
DONT_OPTIMIZE is a Makefile directive and needs to be interpreted before the compiler starts.
........
................
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/Makefile.rules
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
--- trunk-merged (original)
+++ trunk-merged Wed May 27 16:53:59 2009
@@ -1,1 +1,1 @@
-/trunk:1-690,707,711,715,719,725-726,730,887,910
+/trunk:1-690,707,711,715,719,725-726,730,887,910,933
Modified: branches/1.6.1/Makefile.rules
URL: http://svn.asterisk.org/svn-view/asterisk-addons/branches/1.6.1/Makefile.rules?view=diff&rev=935&r1=934&r2=935
==============================================================================
--- branches/1.6.1/Makefile.rules (original)
+++ branches/1.6.1/Makefile.rules Wed May 27 16:53:59 2009
@@ -31,7 +31,8 @@
CMD_PREFIX=
endif
-ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
+# Addons needs to scan flags from the header file
+ifeq ($(shell $(GREP) -c DONT_OPTIMIZE ${includedir}/asterisk/buildopts.h),0)
# More GSM codec optimization
# Uncomment to enable MMXTM optimizations for x86 architecture CPU's
# which support MMX instructions. This should be newer pentiums,
@@ -40,6 +41,8 @@
OPTIMIZE?=-O6
ASTCFLAGS+=$(OPTIMIZE)
+else
+ASTCFLAGS+=-DDONT_OPTIMIZE
endif
# build rules for various targets
More information about the asterisk-addons-commits
mailing list