summaryrefslogtreecommitdiffstats
path: root/zlib
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2020-11-29 20:07:46 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2020-11-29 20:11:38 +0000
commit4e4ba6478ad565b437eb22390b40ed7c715c0983 (patch)
tree8fd84168f82cfe87345334534c7d30d5da406298 /zlib
parentFix PR ada/97504 on hppa*-*-hpux*. (diff)
downloadgcc-4e4ba6478ad565b437eb22390b40ed7c715c0983.tar.gz
gcc-4e4ba6478ad565b437eb22390b40ed7c715c0983.tar.bz2
gcc-4e4ba6478ad565b437eb22390b40ed7c715c0983.tar.xz
Fix hppa64-hpux11 build to remove source paths from embedded path.
This change adds the +nodefaultrpath ld option to remove all library paths that were specified with the -L option from the embedded path. 2020-11-29 John David Anglin <danglin@gcc.gnu.org> ChangeLog: * libtool.m4 (archive_cmds): Add +nodefaultrpath ld option on hppa64-*-hpux11*. libatomic/ChangeLog: * configure: Regenerate. libbacktrace/ChangeLog: * configure: Regenerate. libcc1/ChangeLog: * configure: Regenerate. libffi/ChangeLog: * configure: Regenerate. libgfortran/ChangeLog: * configure: Regenerate. libgomp/ChangeLog: * configure: Regenerate. libhsail-rt/ChangeLog: * configure: Regenerate. libitm/ChangeLog: * configure: Regenerate. libobjc/ChangeLog: * configure: Regenerate. liboffloadmic/ChangeLog: * configure: Regenerate. * plugin/configure: Regenerate. libquadmath/ChangeLog: * configure: Regenerate. libsanitizer/ChangeLog: * configure: Regenerate. libssp/ChangeLog: * configure: Regenerate. libstdc++-v3/ChangeLog: * configure: Regenerate. libvtv/ChangeLog: * configure: Regenerate. lto-plugin/ChangeLog: * configure: Regenerate. zlib/ChangeLog: * configure: Regenerate.
Diffstat (limited to 'zlib')
-rwxr-xr-xzlib/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/zlib/configure b/zlib/configure
index f9a2689e05c..75d4766f90b 100755
--- a/zlib/configure
+++ b/zlib/configure
@@ -9006,7 +9006,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9006 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9006 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9007 case $host_cpu in 9007 case $host_cpu in
9008 hppa*64*) 9008 hppa*64*)
9009 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9009 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9010 ;; 9010 ;;
9011 ia64*) 9011 ia64*)
9012 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9012 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -9018,7 +9018,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9018 else 9018 else
9019 case $host_cpu in 9019 case $host_cpu in
9020 hppa*64*) 9020 hppa*64*)
9021 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9021 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9022 ;; 9022 ;;
9023 ia64*) 9023 ia64*)
9024 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9024 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'