From: Jarkko Hietaniemi Date: Fri, 11 Feb 2000 18:11:47 +0000 (+0000) Subject: Silence linker warnings about binary backward incompatibilities. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b502b3a5cbcdcd2115ba2eb729a9d80989aafc44;p=p5sagit%2Fp5-mst-13.2.git Silence linker warnings about binary backward incompatibilities. p4raw-id: //depot/cfgperl@5064 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index 048a416..ed1393d 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -217,6 +217,7 @@ else NOTE: You are using HP cc(1) but GNU ar(1). This might lead into trouble later on, I'm switching to HP ar to play safe. + END ar=/usr/bin/ar fi @@ -226,6 +227,13 @@ fi EOSH +case "`getconf KERNEL_BITS 2>/dev/null`" in +*64*) ldflags="$ldflags +vnocompatwarnings" + lddlflags="$lddlflags +vnocompatwarnings" + ;; +esac + + # Date: Fri, 6 Sep 96 23:15:31 CDT # From: "Daniel S. Lewart" # I looked through the gcc.info and found this: