mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
7e0fe5d8f4
commit
86e881097c
1 file changed
+2
-2
@@ -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 $@
|
||||