[1/2] UBUNTU: SAUCE: tools -- add ability to disable libbfd

Message ID 20180213144857.486-2-apw@canonical.com
State New
Headers show
Series
  • LP#1748922 -- disable libbfd again
Related show

Commit Message

Andy Whitcroft Feb. 13, 2018, 2:48 p.m.
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 <apw@canonical.com>
---
 tools/perf/Makefile.config | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 0294bfb6c5f8..3ec1969b6d3e 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -649,6 +649,10 @@  else
   endif
 endif
 
+ifdef HAVE_NO_LIBBFD
+  feature-libbfd := 0
+endif
+
 ifeq ($(feature-libbfd), 1)
   EXTLIBS += -lbfd