[asterisk-commits] russell: branch 1.4 r80257 - /branches/1.4/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 22 11:21:59 CDT 2007


Author: russell
Date: Wed Aug 22 11:21:58 2007
New Revision: 80257

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80257
Log:
Honor the contents of the COPTS variable as custom target CFLAGS.  Apparently
this is what openwrt does.  
(reported by Brian Capouch on the asterisk-dev list, patch by me)

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/Makefile?view=diff&rev=80257&r1=80256&r2=80257
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Wed Aug 22 11:21:58 2007
@@ -72,6 +72,10 @@
 ifneq ($(wildcard makeopts),)
   include makeopts
 endif
+
+# Some build systems, such as the one in openwrt, like to pass custom target
+# CFLAGS in the COPTS variable.
+ASTCFLAGS+=$(COPTS)
 
 #Uncomment this to see all build commands instead of 'quiet' output
 #NOISY_BUILD=yes




More information about the asterisk-commits mailing list