From 42f6926c170941f767864b4184e0593affaab664 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Tue, 13 Feb 2018 14:48:56 +0000 Subject: [PATCH X 1/2] UBUNTU: SAUCE: tools -- add ability to disable libbfd We do not want to be linked to libbfd as this is a tightly versioned package which does not maintain its ABI. This prevents us from have multiple tools packages installed. Turn that off and we will fallback to libiberty. BugLink: http://bugs.launchpad.net/bugs/1748922 Signed-off-by: Andy Whitcroft Signed-off-by: Seth Forshee (backported from commit 1db74df61ab4fdef7e6c7734caca0639d2278689 bionic) Signed-off-by: Stefan Bader --- tools/perf/config/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index de89ec5..a7ed417 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -515,6 +515,10 @@ else endif endif +ifdef HAVE_NO_LIBBFD + feature-libbfd := 0 +endif + ifeq ($(feature-libbfd), 1) EXTLIBS += -lbfd -- 2.7.4