[asterisk-addons-commits] tilghman: branch 1.6.2 r936 - in /branches/1.6.2: ./ Makefile.rules
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Wed May 27 16:54:51 CDT 2009
Author: tilghman
Date: Wed May 27 16:54:48 2009
New Revision: 936
URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=936
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.2/ (props changed)
branches/1.6.2/Makefile.rules
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
--- trunk-merged (original)
+++ trunk-merged Wed May 27 16:54:48 2009
@@ -1,1 +1,1 @@
-/trunk:1-907,910,926-927
+/trunk:1-907,910,926-927,933
Modified: branches/1.6.2/Makefile.rules
URL: http://svn.asterisk.org/svn-view/asterisk-addons/branches/1.6.2/Makefile.rules?view=diff&rev=936&r1=935&r2=936
==============================================================================
--- branches/1.6.2/Makefile.rules (original)
+++ branches/1.6.2/Makefile.rules Wed May 27 16:54:48 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