From bb584dd5379cfcb7de4142eac118128f2cbdb054 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 2 Jun 2014 15:11:01 -0400 Subject: perf: install trace-event plugins perf hardcodes $libdir to be lib for all but x86_64, so kludge around it until upstream gets their act together. --kyle --- perf-lib64.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 perf-lib64.patch (limited to 'perf-lib64.patch') diff --git a/perf-lib64.patch b/perf-lib64.patch new file mode 100644 index 00000000..85790ba9 --- /dev/null +++ b/perf-lib64.patch @@ -0,0 +1,17 @@ +diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile +index 802cf54..7f30bfa 100644 +--- a/tools/perf/config/Makefile ++++ b/tools/perf/config/Makefile +@@ -621,8 +621,12 @@ endif + ifeq ($(IS_X86_64),1) + lib = lib64 + else ++ifdef MULTILIBDIR ++lib = $(MULTILIBDIR) ++else + lib = lib + endif ++endif + libdir = $(prefix)/$(lib) + + # Shell quote (do not use $(call) to accommodate ancient setups); -- cgit