From patchwork Wed Aug 17 16:47:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Natty,Maverick,Lucid,SRU] perf: Fix libbfd usage From: Stefan Bader X-Patchwork-Id: 110340 Message-Id: <4E4BF0BD.20006@canonical.com> To: kernel-team@lists.ubuntu.com Date: Wed, 17 Aug 2011 18:47:57 +0200 ... here. >From 5d81fac867ee76e766ce57919f9479cf94282c13 Mon Sep 17 00:00:00 2001 From: Stefan Bader Date: Tue, 16 Aug 2011 16:14:22 +0200 Subject: [PATCH] UBUNTU: (build) 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 --- debian/rules.d/2-binary-arch.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index ace4d85..a2e8016 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -347,7 +347,7 @@ endif $(stampdir)/stamp-build-perarch: prepare-perarch ifeq ($(do_tools),true) - cd $(builddir)/tools-$*/tools/perf && make + cd $(builddir)/tools-$*/tools/perf && make HAVE_CPLUS_DEMANGLE=1 endif @touch $@ -- 1.7.4.1