qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5594] Avoid ld flag --warn-common on Solaris


From: Blue Swirl
Subject: [Qemu-devel] [5594] Avoid ld flag --warn-common on Solaris
Date: Sat, 01 Nov 2008 14:50:20 +0000

Revision: 5594
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5594
Author:   blueswir1
Date:     2008-11-01 14:50:20 +0000 (Sat, 01 Nov 2008)

Log Message:
-----------
Avoid ld flag --warn-common on Solaris

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

Modified: trunk/configure
===================================================================
--- trunk/configure     2008-11-01 13:44:52 UTC (rev 5593)
+++ trunk/configure     2008-11-01 14:50:20 UTC (rev 5594)
@@ -98,6 +98,7 @@
 vnc_tls="yes"
 bsd="no"
 linux="no"
+solaris="no"
 kqemu="no"
 profiler="no"
 cocoa="no"
@@ -368,8 +369,10 @@
 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
 
 #






reply via email to

[Prev in Thread] Current Thread [Next in Thread]