diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index aa55850fbc21..2830741bfba8 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -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