diff options
author | Andy Polyakov <appro@openssl.org> | 2004-09-28 22:45:10 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-09-28 22:45:10 +0200 |
commit | 07d488daf66ed88a7b2758325eed7e45fac0aafb (patch) | |
tree | 1159d0c7695d2014f862de737a4619e1c59f1c13 /Makefile.shared | |
parent | usr/doc has recently changed to usr/share/doc on Cygwin. (diff) | |
download | openssl-07d488daf66ed88a7b2758325eed7e45fac0aafb.tar.xz openssl-07d488daf66ed88a7b2758325eed7e45fac0aafb.zip |
Fix Solaris 10_x86 shared build. -Bsymbolic is required to avoid
"remaining relocations" in assembler modules. The latter seems to
be new behaviour, elder as/ld managed to resolve this relocations
as internal. It's possible to address this problem differently,
but I settle for -Bsymbolic...
PR: 546
Diffstat (limited to 'Makefile.shared')
-rw-r--r-- | Makefile.shared | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.shared b/Makefile.shared index 2f7d7ead5a..1528931d56 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -457,7 +457,7 @@ link_o.solaris: LIBDEPS="$(LIBDEPS) -lc"; \ ALLSYMSFLAGS="$${MINUSZ}allextract"; \ NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \ - SHAREDFLAGS="-G -dy -z text -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -R $(LIBRPATH)"; \ + SHAREDFLAGS="-G -dy -z text -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -R $(LIBRPATH) -Wl,-Bsymbolic"; \ SHAREDCMD='$(CC)'; \ fi; \ $(LINK_SO_O) @@ -473,7 +473,7 @@ link_a.solaris: LIBDEPS="$(LIBDEPS) -lc"; \ ALLSYMSFLAGS="$${MINUSZ}allextract"; \ NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \ - SHAREDFLAGS="-G -dy -z text -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -R $(LIBRPATH)"; \ + SHAREDFLAGS="-G -dy -z text -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -R $(LIBRPATH) -Wl,-Bsymbolic"; \ SHAREDCMD='$(CC)'; \ fi; \ $(LINK_SO_A) |