summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 3392c77df9..043ee79a95 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -89,7 +89,12 @@ case `$cc -v 2>&1`"" in
case "$gccversion" in
3*)
case "$archname" in
- PA-RISC*) ccflags="$ccflags -mpa-risc-2-0" ;;
+ PA-RISC*)
+ case "$ccflags" in
+ *-mpa-risc*) ;;
+ *) ccflags="$ccflags -mpa-risc-2-0" ;;
+ esac
+ ;;
esac
;;
*) # gcc with gas will not accept +DA2.0