openssl1.0/shlib/irix.sh
2019-08-09 10:00:55 +02:00

8 lines
274 B
Bash

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