diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-01 14:50:20 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-01 14:50:20 +0000 |
commit | 0b010c4d24924dcb6530d86a92a9d2f1a6e1494b (patch) | |
tree | ed1feae8f0ad5100bdbd689420cc03905d8900b6 /configure | |
parent | bf0d9760a47a4e86b0c2e20ce75041fef3a6b38d (diff) | |
download | qemu-0b010c4d24924dcb6530d86a92a9d2f1a6e1494b.tar.gz qemu-0b010c4d24924dcb6530d86a92a9d2f1a6e1494b.tar.bz2 qemu-0b010c4d24924dcb6530d86a92a9d2f1a6e1494b.zip |
Avoid ld flag --warn-common on Solaris
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5594 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -98,6 +98,7 @@ oss_lib="" vnc_tls="yes" bsd="no" linux="no" +solaris="no" kqemu="no" profiler="no" cocoa="no" @@ -368,8 +369,10 @@ if test "$werror" = "yes" ; then CFLAGS="$CFLAGS -Werror" fi -if ld --version 2>/dev/null | grep -q "GNU ld" ; then - LDFLAGS="$LDFLAGS -Wl,--warn-common" +if test "$solaris" = "no" ; then + if ld --version 2>/dev/null | grep "GNU ld" >/dev/null 2>/dev/null ; then + LDFLAGS="$LDFLAGS -Wl,--warn-common" + fi fi # |