aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStefan Bader <stefan.bader@canonical.com>2011-08-16 16:49:35 +0200
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:25:58 -0700
commit87bbcb05279a6008b5a95db5d644cf2e53eb63bb (patch)
tree9c6a76c3857973dabafa1f12aaa7352f34d5f4bf /debian
parente9a3617bb90fa5943b4aab20d807c58fe4b5fe4d (diff)
downloadlinux-linaro-precise-87bbcb05279a6008b5a95db5d644cf2e53eb63bb.tar.gz
UBUNTU: [Config] Force perf to use libiberty for demangling
Because libbfd is GPLv3 only and perf is GPLv2 only. Also this avoids statically linking against libbfd to allow multiple versions of perf being installed in parallel. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606050 BugLink: http://bugs.launchpad.net/bugs/783660 Signed-off-by: Stefan Bader <stefan.bader@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/rules.d/2-binary-arch.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 29788fcc7a5..466c8a4d4ee 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -365,7 +365,8 @@ endif
$(stampdir)/stamp-build-perarch: prepare-perarch
ifeq ($(do_tools),true)
- cd $(builddir)/tools/tools/perf && make $(CROSS_COMPILE)
+ cd $(builddir)/tools/tools/perf && \
+ make HAVE_CPLUS_DEMANGLE=1 $(CROSS_COMPILE)
if [ "$(arch)" = "amd64" ] || [ "$(arch)" = "i386" ]; then \
cd $(builddir)/tools/tools/power/x86/x86_energy_perf_policy && make $(CROSS_COMPILE); \
cd $(builddir)/tools/tools/power/x86/turbostat && make $(CROSS_COMPILE); \