aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-24 01:21:41 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-24 01:21:41 +0000
commitdfaafb7c36f0c0a387277d18eaf636e89b15afc5 (patch)
tree334e5b6accc0b2f4dd4f3573db0d0ad9b493c97b /Makefile
parent12242cc4f6ab6c94a13e90cf9d8ec2ff8de710d8 (diff)
Okay, there are 3 reasons why I'm doing this.
1) Solaris sed doesn't have -r, which means things like \s and \S don't work. 2) GNU sed version 4.1.2 failed on a very simple test echo "Test Test" | sed -r -e 's/\s/x/g' should have returned "TestxxxTest", but did not (however, 4.1.4 did?). 3) The CFLAGS were never set, so that entire line actually did nothing. Now it's useful again. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40964 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5bade713..7ebf89081 100644
--- a/Makefile
+++ b/Makefile
@@ -331,7 +331,7 @@ distclean: clean
rm -f build_tools/menuselect-deps
datafiles: all
- if [ x`$(ID) -un` = xroot ]; then sh build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+ if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" sh build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
# Should static HTTP be installed during make samples or even with its own target ala
# webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now.