diff options
Diffstat (limited to 'yasmwrapper.sh')
-rwxr-xr-x | yasmwrapper.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/yasmwrapper.sh b/yasmwrapper.sh new file mode 100755 index 00000000..1d0170f1 --- /dev/null +++ b/yasmwrapper.sh @@ -0,0 +1,10 @@ +#!/bin/bash +ARGS="" +for i in $@ ; do + #if [ "$i" != "-fPIC" ] && [ "$i" != "-DPIC" ]; then + if [ "$i" != "-fPIC" ]; then + ARGS="$ARGS $i" + fi +done +echo "exec: yasm $ARGS" +yasm $ARGS |