summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-04-14 18:30:01 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-14 13:50:14 +0000
commit87a010a9c0acee8f29e595c5624ae438d2be0b71 (patch)
tree4ee687f2561ed1d134de0150d66c96df0b910f94 /hints
parent877ae92e21e5ff7b324364533aa9a48f1f9e945f (diff)
downloadperl-87a010a9c0acee8f29e595c5624ae438d2be0b71.tar.gz
Enable portable gcc code on hp-ux
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020414162907.07C4.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@15905
Diffstat (limited to 'hints')
-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