[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] tools/xenmon/Makefile: Move LDFLAGS after $<
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |