]> git.baikalelectronics.ru Git - kernel.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)
commit31021c9a7f4069fa7798b9c523bf4fc3af119747
tree5d834aca33db0fac7fb5dce032d289a3ce6bdea2
parent750297ae6594ffd1aa543dad9d4bda3c31867185
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