diff mbox series

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

Message ID 1519746163-27228-2-git-send-email-stefan.bader@canonical.com
State New
Headers show
Series [A,1/2] UBUNTU: SAUCE: tools -- add ability to disable libbfd | expand

Commit Message

Stefan Bader Feb. 27, 2018, 3:42 p.m. UTC
From: Andy Whitcroft <apw@canonical.com>

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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
(cherry-picked from commit 1db74df61ab4fdef7e6c7734caca0639d2278689 bionic)
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
 tools/perf/Makefile.config | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 0294bfb..3ec1969 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