[asterisk-commits] russell: trunk r80258 - in /trunk: ./ Makefile

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


Author: russell
Date: Wed Aug 22 11:22:27 2007
New Revision: 80258

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80258
Log:
Merged revisions 80257 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80257 | russell | 2007-08-22 11:21:58 -0500 (Wed, 22 Aug 2007) | 4 lines

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:
    trunk/   (props changed)
    trunk/Makefile

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=80258&r1=80257&r2=80258
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Aug 22 11:22:27 2007
@@ -73,6 +73,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