[asterisk-commits] russell: trunk r269008 - /trunk/Makefile.rules

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 8 10:41:28 CDT 2010


Author: russell
Date: Tue Jun  8 10:41:23 2010
New Revision: 269008

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=269008
Log:
Ensure CONFIG_FLAGS makes it into the build rules when doing out of tree builds.

(closes issue #16685)
Reported by: pprindeville

Modified:
    trunk/Makefile.rules

Modified: trunk/Makefile.rules
URL: http://svnview.digium.com/svn/asterisk/trunk/Makefile.rules?view=diff&rev=269008&r1=269007&r2=269008
==============================================================================
--- trunk/Makefile.rules (original)
+++ trunk/Makefile.rules Tue Jun  8 10:41:23 2010
@@ -47,6 +47,10 @@
     _ASTCFLAGS+=$(OPTIMIZE)
 else
     _ASTCFLAGS+=-O0
+endif
+
+ifeq ($(findstring $(CONFIG_CFLAGS),$(_ASTCFLAGS)),)
+    _ASTCFLAGS+=$(CONFIG_CFLAGS)
 endif
 
 # shortcuts for common combinations of flags; these must be recursively expanded so that




More information about the asterisk-commits mailing list