summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-11 16:41:29 +0000
committerDan McGee <dan@archlinux.org>2007-04-11 16:41:29 +0000
commit562887ba5cda60cb288f2c46fcb4b84339f50cb2 (patch)
treea53028c9b365679db571eadc39354e55815b7edc /scripts
parent14d74623b05945b58f83f37b35f0c8fd229bcb1c (diff)
downloadpacman-562887ba5cda60cb288f2c46fcb4b84339f50cb2.tar.xz
Fix FS #6872- CFLAGS were not being exported
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makepkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index ffd34d48..9cfea69e 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -885,6 +885,10 @@ else
unset LC_ALL LANG
umask 0022
+ # ensure CFLAGS and CXXFLAGS are used
+ export CFLAGS
+ export CXXFLAGS
+
#check for "exit on syntax error" shell option
echo $SHELLOPTS | grep errexit 2>&1 >/dev/null
set_e=$?