summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorblueswir12008-11-01 15:50:20 +0100
committerblueswir12008-11-01 15:50:20 +0100
commitd2c7c9b8716c2aa62ff0afdec2c76e67dab277f0 (patch)
treeed1feae8f0ad5100bdbd689420cc03905d8900b6 /configure
parentFix TCGv size mismatches (diff)
downloadqemu-d2c7c9b8716c2aa62ff0afdec2c76e67dab277f0.tar.gz
qemu-d2c7c9b8716c2aa62ff0afdec2c76e67dab277f0.tar.xz
qemu-d2c7c9b8716c2aa62ff0afdec2c76e67dab277f0.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-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index ccc4ae0c4f..8b0ad89b12 100755
--- a/configure
+++ b/configure
@@ -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
#