]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf tools: Support static build
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 29 Oct 2009 15:20:02 +0000 (17:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Nov 2009 09:18:15 +0000 (10:18 +0100)
commit751386507701010831d72c522171753d2cd903d2
tree5d834aca33db0fac7fb5dce032d289a3ce6bdea2
parenta7b63425a41cd6a8d50f76fef0660c5110f97e91
perf tools: Support static build

This makes it possible to build perf statically, by
performing:

  make LDFLAGS=-static

Since static libraries are only searched in the order they are
specified, move library list from LDFLAGS to EXTLIBS, so that
they are put at the end of linker command line.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20091029152002.GA5406@redhat.com>
[ v2: resolved conflicts ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile