]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
We added COPTS for ASTCFLAGS additions, but not LDOPTS for ASTLDFLAGS. This adds...
authorJason Parker <jparker@digium.com>
Thu, 6 Sep 2007 22:05:02 +0000 (22:05 +0000)
committerJason Parker <jparker@digium.com>
Thu, 6 Sep 2007 22:05:02 +0000 (22:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81826 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index f0b1f114496b91fcb095c48913d47cfe0337d9d1..2c08688e4b9cb79870940eb595ef6531d8ed8da1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,8 +76,9 @@ ifneq ($(wildcard makeopts),)
 endif
 
 # Some build systems, such as the one in openwrt, like to pass custom target
-# CFLAGS in the COPTS variable.
+# CFLAGS and LDFLAGS in the COPTS and LDOPTS variables.
 ASTCFLAGS+=$(COPTS)
+ASTLDFLAGS+=$(LDOPTS)
 
 #Uncomment this to see all build commands instead of 'quiet' output
 #NOISY_BUILD=yes