summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 835d23bd74..a9d0715153 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -109,7 +109,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
;;