diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-27 15:02:38 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-27 15:02:38 +0100 |
commit | 86e881097c8d48a7d754408d8969dfb4b2f692d0 (patch) | |
tree | 5135fa219947a22683dc42aa62baa952a1d8226e /tools/xenmon | |
parent | 7e0fe5d8f47a04c8c04317fb08872205fd84f859 (diff) | |
download | xen-86e881097c8d48a7d754408d8969dfb4b2f692d0.tar.gz xen-86e881097c8d48a7d754408d8969dfb4b2f692d0.tar.bz2 xen-86e881097c8d48a7d754408d8969dfb4b2f692d0.zip |
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@gentoo.org>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/xenmon')
-rw-r--r-- | tools/xenmon/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenmon/Makefile b/tools/xenmon/Makefile index 0b35f451d0..8ad4266567 100644 --- a/tools/xenmon/Makefile +++ b/tools/xenmon/Makefile @@ -42,6 +42,6 @@ clean: %: %.c Makefile - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@ xentrace_%: %.c Makefile - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@ |