From 56f9773ffd7d9baf1028bb92e2d4af073dce32ea Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 13 Feb 1996 20:34:53 +0000 Subject: [PATCH] * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared. * configure: Rebuild. --- gas/ChangeLog | 5 +++++ gas/configure | 3 +++ gas/configure.in | 3 +++ gprof/ChangeLog | 5 +++++ gprof/configure | 3 +++ gprof/configure.in | 3 +++ 6 files changed, 22 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 5b5ded59522..4f485faa420 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 13 15:31:18 1996 Ian Lance Taylor + + * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared. + * configure: Rebuild. + Mon Feb 12 15:53:46 1996 Doug Evans * configure.in: Recognize any sparc* cpu. diff --git a/gas/configure b/gas/configure index 80bf9c590e1..408a2022d0f 100755 --- a/gas/configure +++ b/gas/configure @@ -2135,6 +2135,9 @@ HLDFLAGS= # If we have shared libraries, try to set rpath reasonably. if test "${shared}" = "true"; then case "${host}" in + *-*-hpux*) + HLDFLAGS='-Wl,+s,+b,$(libdir)' + ;; *-*-irix5*) HLDFLAGS='-Wl,-rpath,$(libdir)' ;; diff --git a/gas/configure.in b/gas/configure.in index 9d371efe23c..a8a967689aa 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -635,6 +635,9 @@ HLDFLAGS= # If we have shared libraries, try to set rpath reasonably. if test "${shared}" = "true"; then case "${host}" in + *-*-hpux*) + HLDFLAGS='-Wl,+s,+b,$(libdir)' + ;; *-*-irix5*) HLDFLAGS='-Wl,-rpath,$(libdir)' ;; diff --git a/gprof/ChangeLog b/gprof/ChangeLog index a87e0ddc427..0e1fe783765 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 13 15:32:53 1996 Ian Lance Taylor + + * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared. + * configure: Rebuild. + Wed Feb 7 14:03:17 1996 Ian Lance Taylor * configure.in: Don't set CC. Look for --enable-shared. Set diff --git a/gprof/configure b/gprof/configure index fba4710abff..c702138ca23 100755 --- a/gprof/configure +++ b/gprof/configure @@ -759,6 +759,9 @@ HLDFLAGS= # If we have shared libraries, try to set rpath reasonably. if test "${shared}" = "true"; then case "${host}" in + *-*-hpux*) + HLDFLAGS='-Wl,+s,+b,$(libdir)' + ;; *-*-irix5*) HLDFLAGS='-Wl,-rpath,$(libdir)' ;; diff --git a/gprof/configure.in b/gprof/configure.in index 393589da401..8da8b86702f 100644 --- a/gprof/configure.in +++ b/gprof/configure.in @@ -47,6 +47,9 @@ HLDFLAGS= # If we have shared libraries, try to set rpath reasonably. if test "${shared}" = "true"; then case "${host}" in + *-*-hpux*) + HLDFLAGS='-Wl,+s,+b,$(libdir)' + ;; *-*-irix5*) HLDFLAGS='-Wl,-rpath,$(libdir)' ;; -- 2.30.2