openssl/shlib/irix.sh

8 lines
274 B
Bash
Raw Normal View History

FLAGS="-DTERMIOS -O2 -mips2 -DB_ENDIAN -fomit-frame-pointer -Wall -Iinclude"
SHFLAGS="-DPIC -fpic"
gcc -c -Icrypto $SHFLAGS $FLAGS -o crypto.o crypto/crypto.c
ld -shared -o libcrypto.so crypto.o
gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c
ld -shared -o libssl.so ssl.o