summaryrefslogtreecommitdiffstats
path: root/openssl/shlib/irix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/shlib/irix.sh')
-rw-r--r--openssl/shlib/irix.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/openssl/shlib/irix.sh b/openssl/shlib/irix.sh
new file mode 100644
index 0000000..22e4e6a
--- /dev/null
+++ b/openssl/shlib/irix.sh
@@ -0,0 +1,7 @@
+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