]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
UBUNTU: SAUCE: tools -- add ability to disable libbfd
authorAndy Whitcroft <apw@canonical.com>
Tue, 13 Feb 2018 14:48:56 +0000 (14:48 +0000)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 14 Dec 2020 07:30:32 +0000 (08:30 +0100)
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>
tools/perf/Makefile.config

index ce8516e4de34fa60ee50c3fedc0190c625f8f3ac..3788dfcea5d1615a2d5a657429eda6bf27cdc763 100644 (file)
@@ -804,6 +804,10 @@ else
   endif
 endif
 
+ifdef HAVE_NO_LIBBFD
+  feature-libbfd := 0
+endif
+
 ifeq ($(feature-libbfd), 1)
   EXTLIBS += -lbfd -lopcodes
 else