mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
9 lines
284 B
Bash
9 lines
284 B
Bash
|
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
|