perf: disable libfd-liberty libbfd-liberty-z

Due to "perf build: Don't unconditionally link the libbfd feature test
to -liberty and -lz" commit in 4.19 stable tree.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.19.y&id=303d29d8f0cfccfc283322648a617033cd69a70f
This commit is contained in:
Marcin Juszkiewicz 2019-02-25 16:58:41 +01:00
parent 4a0b4cb79e
commit e60f3ee90a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ MAKE_PERF += perfexecdir=lib/perf_$(VERSION)-core plugindir=/usr/lib/traceevent_
# undistributable as they are licenced under GPL v2 and v3+
# respectively. Override detection of libbfd and insist that
# cplus_demangle() can be found in libiberty (LGPL v2.1+).
MAKE_PERF += feature-libbfd=0 HAVE_CPLUS_DEMANGLE_SUPPORT=1
MAKE_PERF += feature-libbfd=0 feature-libbfd-liberty=0 feature-libbfd-liberty-z=0 HAVE_CPLUS_DEMANGLE_SUPPORT=1
# perf can link against libcrypto if available, but the result is
# undistributable as GPL v2 and OpenSSL are not compatible without