summaryrefslogtreecommitdiffstats
path: root/perf-lib64.patch
diff options
context:
space:
mode:
authorKyle McMartin <kmcmarti@redhat.com>2014-06-02 15:11:01 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-06-03 08:33:36 -0400
commitbb584dd5379cfcb7de4142eac118128f2cbdb054 (patch)
treeceff67708e60905da0cb6af5003fcd878092ed79 /perf-lib64.patch
parentf5cb86548faa7bd980dc30686c3c2ca3377e5759 (diff)
downloadkernel-bb584dd5379cfcb7de4142eac118128f2cbdb054.tar.gz
kernel-bb584dd5379cfcb7de4142eac118128f2cbdb054.tar.xz
kernel-bb584dd5379cfcb7de4142eac118128f2cbdb054.zip
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
Diffstat (limited to 'perf-lib64.patch')
-rw-r--r--perf-lib64.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/perf-lib64.patch b/perf-lib64.patch
new file mode 100644
index 000000000..85790ba92
--- /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);