aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-13 20:34:53 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-13 20:34:53 +0000
commit56f9773ffd7d9baf1028bb92e2d4af073dce32ea (patch)
tree0e5a64cbfb733ab658e18f55f27e644dcebda63c /gprof
parentb6acf0846acf31b06b52552a5db37a2e2b12c1c7 (diff)
downloadgdb-56f9773ffd7d9baf1028bb92e2d4af073dce32ea.zip
gdb-56f9773ffd7d9baf1028bb92e2d4af073dce32ea.tar.gz
gdb-56f9773ffd7d9baf1028bb92e2d4af073dce32ea.tar.bz2
* configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
* configure: Rebuild.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rwxr-xr-xgprof/configure3
-rw-r--r--gprof/configure.in3
3 files changed, 11 insertions, 0 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index a87e0dd..0e1fe78 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 13 15:32:53 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
+ * configure: Rebuild.
+
Wed Feb 7 14:03:17 1996 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Don't set CC. Look for --enable-shared. Set
diff --git a/gprof/configure b/gprof/configure
index fba4710..c702138 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 393589d..8da8b86 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)'
;;