summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorbodo <bodo>2001-11-22 11:09:33 +0000
committerbodo <bodo>2001-11-22 11:09:33 +0000
commita888869fb93cb5e208348d17e71f8008990def42 (patch)
tree7ce887462b98dc3c21cc941952c10f01e74e7f42 /tools
parent540306eaabf1689d5225f152ff60e5b667acd0d1 (diff)
downloadopenssl-a888869fb93cb5e208348d17e71f8008990def42.tar.gz
OS/390 support
Submitted by: Richard Shapiro <rshapiro@abinitio.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/c89.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/c89.sh b/tools/c89.sh
new file mode 100755
index 000000000..b25c9fda2
--- /dev/null
+++ b/tools/c89.sh
@@ -0,0 +1,15 @@
+#!/bin/sh -k
+#
+# Re-order arguments so that -L comes first
+#
+opts=""
+lopts=""
+
+for arg in $* ; do
+ case $arg in
+ -L*) lopts="$lopts $arg" ;;
+ *) opts="$opts $arg" ;;
+ esac
+done
+
+c89 $lopts $opts