WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] tools/xenmon/Makefile: Move LDFLAGS af

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] tools/xenmon/Makefile: Move LDFLAGS after $<
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2008 14:40:30 -0700
Delivery-date: Thu, 28 Aug 2008 14:40:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1219921092 -3600
# Node ID 56670647d1080659304d63dbdedf51619ee8402f
# Parent  8c7ae4eb6d1b432ea0d67e099f885cbc4967af6a
tools/xenmon/Makefile: Move LDFLAGS after $<

gcc expects libraries needed for object files to be specified after
the object. Linking usually does not fail, unless it is optimized (for
instance, using -Wl,-as-needed).

The related Gentoo bug is 135145 [ https://bugs.gentoo.org/135145 ].

From: Robert Buchholz <rbu@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   18386:ab8212bd5604f58635e2b8bc6ffec6eddd211cf9
xen-unstable date:        Wed Aug 27 15:02:38 2008 +0100
---
 tools/xenmon/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 8c7ae4eb6d1b -r 56670647d108 tools/xenmon/Makefile
--- a/tools/xenmon/Makefile     Thu Aug 28 11:56:19 2008 +0100
+++ b/tools/xenmon/Makefile     Thu Aug 28 11:58:12 2008 +0100
@@ -42,6 +42,6 @@ clean:
 
 
 %: %.c Makefile
-       $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
+       $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -lxenctrl
 xentrace_%: %.c Makefile
-       $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
+       $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -lxenctrl

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] tools/xenmon/Makefile: Move LDFLAGS after $<, Xen patchbot-3.2-testing <=