diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-09-10 20:35:45 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-09-10 20:39:20 +0200 |
commit | 8aaa885aae14ef3bd350b847e4e410d5dc3d0197 (patch) | |
tree | 60c215a306b2e36c540f48bfc5fa8f551914c5d6 /yasmwrapper.sh | |
parent | e1ded6f39ea4c00e4839cfed00330348cd75bb8f (diff) |
fixed ffap build on osx
Diffstat (limited to 'yasmwrapper.sh')
-rwxr-xr-x | yasmwrapper.sh | 4 |
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 |