From: Jarkko Hietaniemi Date: Fri, 7 Dec 2001 14:38:39 +0000 (+0000) Subject: gcc version matching didn't. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bb0105320973d4c665ab151568f694ba52c75dee;p=p5sagit%2Fp5-mst-13.2.git gcc version matching didn't. p4raw-id: //depot/perl@13510 --- diff --git a/hints/linux.sh b/hints/linux.sh index 9837ee8..fd38198 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -100,7 +100,7 @@ case "$optimize" in '') # If we have modern enough gcc and well-supported enough CPU, # crank up the optimization level. case "`${cc:-gcc} -v 2>&1`" in - *gcc-2.95*|*gcc-3.*) + *"gcc version 2.95"*|*"gcc version 3."*) case "`arch 2>&1`" in i?86|ppc) optimize='-O3' ;; esac