Silence linker warnings about binary backward incompatibilities.
Jarkko Hietaniemi [Fri, 11 Feb 2000 18:11:47 +0000 (18:11 +0000)]
p4raw-id: //depot/cfgperl@5064

hints/hpux.sh

index 048a416..ed1393d 100644 (file)
@@ -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: