]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: [Packaging] correct disablement of libbfd
authorAndy Whitcroft <apw@canonical.com>
Tue, 13 Feb 2018 14:48:57 +0000 (14:48 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 13 Feb 2018 14:52:39 +0000 (08:52 -0600)
We used to use HAVE_CPLUS_DEMANGLE to disable libbfd.  Upstream has changed
but the name of this control and its semantics.  It now only switches us
to use the c++ demangler and only then if libbfd is disabled.

Use the newly added HAVE_NO_LIBBFD to switch off libbfd and switch to
the new name of the c++ demangle selector.

BugLink: http://bugs.launchpad.net/bugs/1748922
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
debian/rules.d/2-binary-arch.mk

index 708a3ac17fa0b54250aeda487e753c664dd7ab15..73cc0bc502746404ba0dd5433a4309fbe90b58ac 100644 (file)
@@ -636,7 +636,7 @@ ifeq ($(do_tools_perf),true)
        cd $(builddirpa) && $(kmake) silentoldconfig
        cd $(builddirpa) && $(kmake) prepare
        cd $(builddirpa)/tools/perf && \
-               $(kmake) prefix=/usr HAVE_CPLUS_DEMANGLE=1 CROSS_COMPILE=$(CROSS_COMPILE) NO_LIBPYTHON=1 NO_LIBPERL=1 PYTHON=python2.7
+               $(kmake) prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPUS_DEMANGLE_SUPPORT=1 CROSS_COMPILE=$(CROSS_COMPILE) NO_LIBPYTHON=1 NO_LIBPERL=1 PYTHON=python2.7
 endif
 ifeq ($(do_tools_x86),true)
        cd $(builddirpa)/tools/power/x86/x86_energy_perf_policy && make CROSS_COMPILE=$(CROSS_COMPILE)