perf tools: Fix static linking with libunwind
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sun, 20 Aug 2017 11:39:32 +0000 (14:39 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Aug 2017 16:24:55 +0000 (13:24 -0300)
commit60913e005c8d19ec5187a638eafdd088509dfb9e
treed23cfa27e017107fbb22ac6e005845d8dbb91dcb
parentba335df4ea2a5011002c5cde53bab6d7f5d714d8
perf tools: Fix static linking with libunwind

* libunwind-x86_64 must be linked before libunwind
* libunwind requires liblzma
* static libunwind conflicts with static libgcc_eh

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/150322917247.129799.14247751517961953155.stgit@buzz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config