summaryrefslogtreecommitdiff
path: root/yasmwrapper.sh
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-09-10 20:35:45 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-09-10 20:39:20 +0200
commit8aaa885aae14ef3bd350b847e4e410d5dc3d0197 (patch)
tree60c215a306b2e36c540f48bfc5fa8f551914c5d6 /yasmwrapper.sh
parente1ded6f39ea4c00e4839cfed00330348cd75bb8f (diff)
fixed ffap build on osx
Diffstat (limited to 'yasmwrapper.sh')
-rwxr-xr-xyasmwrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/yasmwrapper.sh b/yasmwrapper.sh
index 1d0170f1..021962b6 100755
--- a/yasmwrapper.sh
+++ b/yasmwrapper.sh
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/bin/sh
ARGS=""
for i in $@ ; do
#if [ "$i" != "-fPIC" ] && [ "$i" != "-DPIC" ]; then
- if [ "$i" != "-fPIC" ]; then
+ if [ "$i" != "-fPIC" -a "$i" != "-fno-common" ]; then
ARGS="$ARGS $i"
fi
done