diff options
Diffstat (limited to 'openssl/tools/c89.sh')
-rw-r--r-- | openssl/tools/c89.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openssl/tools/c89.sh b/openssl/tools/c89.sh new file mode 100644 index 000000000..b25c9fda2 --- /dev/null +++ b/openssl/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 |