summaryrefslogtreecommitdiff
path: root/yasmwrapper.sh
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-06-15 21:57:06 +0200
committerGravatar waker <wakeroid@gmail.com>2011-06-15 21:57:06 +0200
commitf702e5270db5bd4576765c8415c456e443513006 (patch)
treec901fa7a600bc1fa1496b5af716b7d375be7000a /yasmwrapper.sh
parent10deb233f02b3b3234156c6cf535d06115decd03 (diff)
added better sse2 filter implementation to ape plugin;
added yasm support
Diffstat (limited to 'yasmwrapper.sh')
-rwxr-xr-xyasmwrapper.sh10
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