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 <apw@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
[ arighi: context adjustments for 6.4-rc1 ]
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Andy Whitcroft
2018-02-13 14:48:56 +00:00
committed by Paolo Pisati
parent e5fc75ad2b
commit 6c6de71a94
+4
View File
@@ -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