source-engine/thirdparty/openssl/shlib/sun.sh

9 lines
284 B
Bash
Raw Normal View History

2020-10-22 17:43:01 +00:00
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