ia64/xen-unstable

changeset 18397:ab8212bd5604

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>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 27 15:02:38 2008 +0100 (2008-08-27)
parents 7a28400271f7
children 6c50c7d089d9
files tools/xenmon/Makefile
line diff
     1.1 --- a/tools/xenmon/Makefile	Wed Aug 27 14:57:51 2008 +0100
     1.2 +++ b/tools/xenmon/Makefile	Wed Aug 27 15:02:38 2008 +0100
     1.3 @@ -42,6 +42,6 @@ clean:
     1.4  
     1.5  
     1.6  %: %.c Makefile
     1.7 -	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
     1.8 +	$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
     1.9  xentrace_%: %.c Makefile
    1.10 -	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
    1.11 +	$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@