aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-22 16:22:27 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-22 16:22:27 +0000
commite6b7d0ae08023962ea56f193289598995a24f75c (patch)
treef5256544b3a01b28df5594bcf1cdfc9f71d1bb51 /Makefile
parent283573b9ac0be6f71758457e015b02d49c26d74f (diff)
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: http://svn.digium.com/svn/asterisk/trunk@80258 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b52e0ae1..e43205538 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