summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-11-18 15:49:22 -0300
committerBrian Fraser <fraserbn@gmail.com>2013-12-11 08:04:17 -0300
commit4b76cb9db827e0f9f047de33ae98ca8b86be8260 (patch)
tree0a209e2e2f3685c59d2cf328738c78183ed2bdcd /cflags.SH
parent2e6427502a953fd0cf3ffa66dee68f70734d5c02 (diff)
downloadperl-4b76cb9db827e0f9f047de33ae98ca8b86be8260.tar.gz
cflags.SH: Fix a typo, cflags should be ccflags
This went undetected for the longest time since most flags are irrelevant at this point, but is vital if you are using --sysroot.
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/cflags.SH b/cflags.SH
index e1c409dafc..a80eb5d6ea 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -142,7 +142,7 @@ Intel*) ;; # # Is that you, Intel C++?
case " $ccflags " in
*" $opt "*) ;; # Skip if already there.
*) rm -f _cflags$_exe
- case "`$cc -DPERL_NO_INLINE_FUNCTIONS $cflags $warn $stdflags $opt _cflags.c -o _cflags$_exe 2>&1`" in
+ case "`$cc -DPERL_NO_INLINE_FUNCTIONS $ccflags $warn $stdflags $opt _cflags.c -o _cflags$_exe 2>&1`" in
*"unrecognized"*) ;;
*"implicit declaration"*) ;; # Was something useful hidden?
*"Invalid"*) ;;