From 8aaa885aae14ef3bd350b847e4e410d5dc3d0197 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Tue, 10 Sep 2013 20:35:45 +0200 Subject: fixed ffap build on osx --- yasmwrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yasmwrapper.sh') 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 -- cgit v1.2.3