qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5241] Enable ld flag --warn-common
Date: Wed, 17 Sep 2008 19:05:23 +0000	[thread overview]
Message-ID: <E1Kg2L5-0001uz-RB@cvs.savannah.gnu.org> (raw)

Revision: 5241
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5241
Author:   blueswir1
Date:     2008-09-17 19:05:19 +0000 (Wed, 17 Sep 2008)

Log Message:
-----------
Enable ld flag --warn-common

Modified Paths:
--------------
    trunk/configure

Modified: trunk/configure
===================================================================
--- trunk/configure	2008-09-17 19:04:14 UTC (rev 5240)
+++ trunk/configure	2008-09-17 19:05:19 UTC (rev 5241)
@@ -353,6 +353,10 @@
 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)

                 reply	other threads:[~2008-09-17 19:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Kg2L5-0001uz-RB@cvs.savannah.gnu.org \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).