From 6c6de71a94edf5944eb198daf0ed0736f05e27ba Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Tue, 13 Feb 2018 14:48:56 +0000 Subject: [PATCH] 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 [ arighi: context adjustments for 6.4-rc1 ] Signed-off-by: Andrea Righi --- tools/perf/Makefile.config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index aa55850fbc21..2830741bfba8 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -930,6 +930,10 @@ ifneq ($(NO_JEVENTS),1) endif endif +ifdef HAVE_NO_LIBBFD + feature-libbfd := 0 +endif + ifdef BUILD_NONDISTRO ifeq ($(feature-libbfd), 1) EXTLIBS += -lbfd -lopcodes