1 $NetBSD: patch-af,v 1.4 2007/02/22 19:11:26 rillig Exp $
3 --- strip_non_asm_libtool_args.sh.orig 2004-07-29 08:43:23.000000000 +0200
4 +++ strip_non_asm_libtool_args.sh 2007-02-22 20:11:41.000000000 +0100
6 # Also, on some versions of OS X it tries to pass -fno-common
7 # to 'as' which causes problems.
10 - if [ "$1" != "-fPIC" ]; then
11 - if [ "$1" != "-DPIC" ]; then
12 - if [ "$1" != "-fno-common" ]; then
13 - command="$command $1"
21 + -fno-common) continue;;
23 + command="$command $arg"