From: Andy Polyakov Date: Tue, 28 Sep 2004 20:52:14 +0000 (+0000) Subject: Fix Solaris 10_x86 shared build. -Bsymbolic is required to avoid X-Git-Tag: OpenSSL_0_9_7e~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44963e4af74989e72f414fc42f7c6c845f62f476;p=oweals%2Fopenssl.git 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: 946 --- diff --git a/Makefile.org b/Makefile.org index 221ff86ad2..7a30acac3c 100644 --- a/Makefile.org +++ b/Makefile.org @@ -414,6 +414,7 @@ do_solaris-shared: set -x; ${CC} ${SHARED_LDFLAGS} -G -dy -z text \ -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + -Wl,-Bsymbolic \ $${MINUSZ}allextract lib$$i.a $${MINUSZ}defaultextract \ $$libs ${EX_LIBS} -lc ) || exit 1; \ libs="-l$$i $$libs"; \