diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-11 18:11:47 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-11 18:11:47 +0000 |
commit | b502b3a5cbcdcd2115ba2eb729a9d80989aafc44 (patch) | |
tree | 8883f234352021038657a134d2c863876896dea3 /hints/hpux.sh | |
parent | 7b0dd49d9474e11fc1260d9a64da67456ce10c25 (diff) | |
download | perl-b502b3a5cbcdcd2115ba2eb729a9d80989aafc44.tar.gz |
Silence linker warnings about binary backward incompatibilities.
p4raw-id: //depot/cfgperl@5064
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r-- | hints/hpux.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index 048a416c5a..ed1393d3c9 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" <d-lewart@uiuc.edu> # I looked through the gcc.info and found this: |