1 --- Makefile.org Wed Feb 22 04:27:29 2012
2 +++ Makefile.org Wed Feb 22 04:27:43 2012
3 @@ -271,7 +271,7 @@
4
5 libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a
6 @if [ "$(SHLIB_TARGET)" != "" ]; then \
7 - $(MAKE) SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \
8 + $(MAKE) SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' EX_LIBS='' build-shared; \
9 else \
10 echo "There's no support for shared libraries on this platform" >&2; \
11 exit 1; \
12 --- Configure.orig Sat Mar 3 13:18:06 2012
13 +++ Configure Mon Apr 16 05:15:45 2012
14 @@ -211,7 +211,7 @@
15 # surrounds it with #APP #NO_APP comment pair which (at least Solaris
16 # 7_x86) /usr/ccs/bin/as fails to assemble with "Illegal mnemonic"
17 # error message.
18 -"solaris-x86-gcc","gcc:-O3 -fomit-frame-pointer -march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
19 +"solaris-x86-gcc","gcc:-std=gnu89 -O3 -fomit-frame-pointer -march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM::-D_REENTRANT::-lsocket -lnsl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:solaris-shared:-fPIC:-shared -static-libgcc:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
20 # -shared -static-libgcc might appear controversial, but modules taken
21 # from static libgcc do not have relocations and linking them into our
22 # shared objects doesn't have any negative side-effects. On the contrary,
23 @@ -220,7 +220,7 @@
24 # actually recommend to consider using gcc shared build even with vendor
25 # compiler:-)
26 # <appro@fy.chalmers.se>
27 -"solaris64-x86_64-gcc","gcc:-m64 -O3 -Wall -DL_ENDIAN::-D_REENTRANT::-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:solaris-shared:-fPIC:-m64 -shared -static-libgcc:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/64",
28 +"solaris64-x86_64-gcc","gcc:-std=gnu89 -m64 -O3 -Wall -DL_ENDIAN::-D_REENTRANT::-lsocket -lnsl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:solaris-shared:-fPIC:-m64 -shared -static-libgcc:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/64",
29
30 #### Solaris x86 with Sun C setups
31 "solaris-x86-cc","cc:-fast -O -Xa::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR:${no_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",