aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/configure.host1
2 files changed, 4 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b0c0568..40684a1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
Tue Feb 6 12:12:22 1996 Ian Lance Taylor <ian@cygnus.com>
+ * configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a
+ *-*-hpux* host.
+
* Makefile.in (program_transform_name): New variable.
(install): Transform library name before installing it.
diff --git a/bfd/configure.host b/bfd/configure.host
index de8d65d..1657407 100644
--- a/bfd/configure.host
+++ b/bfd/configure.host
@@ -119,6 +119,7 @@ if [ "${shared}" = "true" ]; then
*-*-hpux*)
# HP/UX uses .sl for shared libraries.
SHLINK=`echo ${SHLINK} | sed -e 's/so$/sl/'`
+ SHLIB_CFLAGS='-shared $(PICFLAG)'
;;
*-*-irix5*)
# -fpic is not needed on Irix 5.