diff options
author | Andy Polyakov <appro@openssl.org> | 2002-12-15 15:27:53 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2002-12-15 15:27:53 +0000 |
commit | fcc534915650edc4cf61efd909b33223aa89eab3 (patch) | |
tree | dcc31c9c9fdb9d295e9f0e91cd4cc3ee8c4d65ca /Makefile.org | |
parent | 1a0762820981ca25c5fcd9f541cd7ad908fb5522 (diff) |
Another Solaris shared build clean-up. This is not actually needed if one
uses WorkShop C. It's gcc driver that brings copy of libgcc.a into .so
otherwise. In case you wonder what it's -Wl,-z... and not just -z. Problem
is that gcc driver apparently omits all -z options but -z text. Don't ask
me why. I'm not committing corresponding workaround into the HEAD as
Makefile.shared reportedly needs even more work...
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org index e6daf017d3..d110cc8297 100644 --- a/Makefile.org +++ b/Makefile.org @@ -360,7 +360,8 @@ 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} \ - -z allextract lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \ + -Wl,-z,allextract lib$$i.a -Wl,-z,defaultextract \ + $$libs ${EX_LIBS} -lc ) || exit 1; \ libs="$$libs -l$$i"; \ done; \ fi |