summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg')
-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=$?