summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/perf/perf_3.4.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb
index 4e6d03d005..8d1b2324b3 100644
--- a/meta/recipes-kernel/perf/perf_3.4.bb
+++ b/meta/recipes-kernel/perf/perf_3.4.bb
@@ -9,7 +9,7 @@ as well."
9LICENSE = "GPLv2" 9LICENSE = "GPLv2"
10LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 10LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
11 11
12PR = "r6" 12PR = "r8"
13 13
14require perf.inc 14require perf.inc
15 15
@@ -67,6 +67,14 @@ EXTRA_OEMAKE = \
67 NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \ 67 NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \
68 ' 68 '
69 69
70# We already pass the correct arguments to our compiler for the CFLAGS (if we
71# don't override it, it'll add -m32/-m64 itself). For LDFLAGS, it was failing
72# to find bfd symbols.
73EXTRA_OEMAKE += "\
74 'CFLAGS=${CFLAGS}' \
75 'LDFLAGS=${LDFLAGS} -lpthread -lrt -lelf -lm -lbfd' \
76"
77
70do_compile() { 78do_compile() {
71 oe_runmake all 79 oe_runmake all
72} 80}