mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
Enable ld flag --warn-common
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5241 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7ee930d031
commit
49237acdb7
1 changed files with 4 additions and 0 deletions
4
configure
vendored
4
configure
vendored
|
@ -353,6 +353,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"
|
||||
fi
|
||||
|
||||
#
|
||||
# If cpu ~= sparc and sparc_cpu hasn't been defined, plug in the right
|
||||
# ARCH_CFLAGS/ARCH_LDFLAGS (assume sparc_v8plus for 32-bit and sparc_v9 for 64-bit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue