From: H.Merijn Brand Date: Sun, 14 Apr 2002 16:30:01 +0000 (+0200) Subject: Enable portable gcc code on hp-ux X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=87a010a9c0acee8f29e595c5624ae438d2be0b71;p=p5sagit%2Fp5-mst-13.2.git Enable portable gcc code on hp-ux From: "H.Merijn Brand" Message-Id: <20020414162907.07C4.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@15905 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index 3392c77..043ee79 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