]> git.proxmox.com Git - mirror_ubuntu-kernels.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>
Thu, 9 Mar 2023 14:57:14 +0000 (15:57 +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 5b87846759036f6f4c3b32b45270e4e871aee29d..bebb2979321375c2ebb9ddefb656ef2d6b370794 100644 (file)
@@ -928,6 +928,10 @@ ifneq ($(NO_JEVENTS),1)
   endif
 endif
 
+ifdef HAVE_NO_LIBBFD
+  feature-libbfd := 0
+endif
+
 ifndef NO_LIBBFD
   ifeq ($(feature-libbfd), 1)
     EXTLIBS += -lbfd -lopcodes