summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-07 14:38:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-07 14:38:39 +0000
commitbb0105320973d4c665ab151568f694ba52c75dee (patch)
treec2a8712c2baa2a2d24adfb7b7263705d108b7a69 /hints
parentc9b4021bd7aaa96c57628b3d2135c8a4d316d727 (diff)
downloadperl-bb0105320973d4c665ab151568f694ba52c75dee.tar.gz
gcc version matching didn't.
p4raw-id: //depot/perl@13510
Diffstat (limited to 'hints')
-rw-r--r--hints/linux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 9837ee8031..fd38198427 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