mirror of
https://github.com/openssl/openssl.git
synced 2024-12-01 22:14:36 +08:00
8 lines
274 B
Bash
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
|