From: Russell Bryant Date: Wed, 22 Aug 2007 16:22:27 +0000 (+0000) Subject: Merged revisions 80257 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~1657 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e97027d4b01f3a7b0efd47c8cbe46656bdc46129;p=thirdparty%2Fasterisk.git 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) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80258 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 6b52e0ae1c..e432055384 100644 --- a/Makefile +++ b/Makefile @@ -74,6 +74,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