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:
parent
527067d892
commit
d2c7c9b871
7
configure
vendored
7
configure
vendored
@ -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
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user