From 4b76cb9db827e0f9f047de33ae98ca8b86be8260 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Mon, 18 Nov 2013 15:49:22 -0300 Subject: [PATCH] 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. --- cflags.SH | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cflags.SH b/cflags.SH index e1c409d..a80eb5d 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"*) ;; -- 2.7.4