summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/hpux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index f45cf68c56..bf74f8696f 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -134,7 +134,7 @@ case `$cc -v 2>&1`"" in
esac
;;
*) ccisgcc=''
- ccversion=`which cc | xargs what | awk '/Compiler/{print $2}'`
+ ccversion=`which cc | xargs what | awk '/Compiler/{print $2}/Itanium/{print $6,$7}'`
case "$ccflags" in
"-Ae "*) ;;
*) ccflags="-Ae $cc_cppflags -Wl,+vnocompatwarnings" ;;