summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r--meta/recipes-kernel/perf/perf.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 058f887b86..ab2dc5ae62 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -76,11 +76,10 @@ LDFLAGS="-ldl -lutil"
76# Perf's build system adds its own optimization flags for most TUs, 76# Perf's build system adds its own optimization flags for most TUs,
77# overriding the flags included here. But for some, perf does not add 77# overriding the flags included here. But for some, perf does not add
78# any -O option, so ensure the distro's chosen optimization gets used 78# any -O option, so ensure the distro's chosen optimization gets used
79# for those. Since ${SELECTED_OPTIMIZATION} always includes 79# for those. Also include ${DEBUG_PREFIX_MAP} which nsures perf is
80# ${DEBUG_FLAGS} which in turn includes ${DEBUG_PREFIX_MAP}, this also 80# built with appropriate -f*-prefix-map options,
81# ensures perf is built with appropriate -f*-prefix-map options,
82# avoiding the 'buildpaths' QA warning. 81# avoiding the 'buildpaths' QA warning.
83TARGET_CC_ARCH += "${SELECTED_OPTIMIZATION}" 82TARGET_CC_ARCH += "${SELECTED_OPTIMIZATION} ${DEBUG_PREFIX_MAP}"
84 83
85EXTRA_OEMAKE = '\ 84EXTRA_OEMAKE = '\
86 V=1 \ 85 V=1 \