diff options
Diffstat (limited to 'openssl/shlib/sun.sh')
-rw-r--r-- | openssl/shlib/sun.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openssl/shlib/sun.sh b/openssl/shlib/sun.sh new file mode 100644 index 000000000..a890bbd37 --- /dev/null +++ b/openssl/shlib/sun.sh @@ -0,0 +1,8 @@ +FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude" +SHFLAGS="-DPIC -fpic" + +gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c +ld -G -z text -o libcrypto.so crypto.o + +gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c +ld -G -z text -o libssl.so ssl.o |