diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2007-01-12 15:15:13 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2007-01-12 15:15:13 +0000 |
commit | 0baa094867867dae4d06080810389e0a395c66b9 (patch) | |
tree | a21b5dff09ce2f446eac3635502095445d565aac /hints/aix_3.sh | |
parent | c560d966b003defa80c2baa9fedc0a294d2b3afe (diff) | |
download | perl-0baa094867867dae4d06080810389e0a395c66b9.tar.gz |
gcc -dumpversion is at least supported back to 2.7.x and
thus seems to be much more defensive against upcoming version
reporting format changes.
p4raw-id: //depot/perl@29777
Diffstat (limited to 'hints/aix_3.sh')
-rw-r--r-- | hints/aix_3.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/aix_3.sh b/hints/aix_3.sh index e24e1058fa..6a7a3c18a9 100644 --- a/hints/aix_3.sh +++ b/hints/aix_3.sh @@ -91,7 +91,7 @@ case "$cc" in ccdlflags='-Xlinker' if [ "X$gccversion" = "X" ]; then # Done too late in Configure if hinted - gccversion=`$cc --version | sed 's/.*(GCC) *//'` + gccversion=`$cc -dumpversion` fi ;; |