Avoid ld flag --warn-common on Solaris

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5594 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-11-01 14:50:20 +00:00
parent 527067d892
commit d2c7c9b871

7
configure vendored
View File

@ -98,6 +98,7 @@ oss_lib=""
vnc_tls="yes" vnc_tls="yes"
bsd="no" bsd="no"
linux="no" linux="no"
solaris="no"
kqemu="no" kqemu="no"
profiler="no" profiler="no"
cocoa="no" cocoa="no"
@ -368,8 +369,10 @@ if test "$werror" = "yes" ; then
CFLAGS="$CFLAGS -Werror" CFLAGS="$CFLAGS -Werror"
fi fi
if ld --version 2>/dev/null | grep -q "GNU ld" ; then if test "$solaris" = "no" ; then
LDFLAGS="$LDFLAGS -Wl,--warn-common" if ld --version 2>/dev/null | grep "GNU ld" >/dev/null 2>/dev/null ; then
LDFLAGS="$LDFLAGS -Wl,--warn-common"
fi
fi fi
# #