aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 9276576addc6..11525ac18bde 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -545,14 +545,7 @@ ifeq ($(NO_PERF_REGS),0)
545endif 545endif
546 546
547ifndef NO_LIBNUMA 547ifndef NO_LIBNUMA
548 FLAGS_LIBNUMA = $(ALL_CFLAGS) $(ALL_LDFLAGS) -lnuma 548 BUILTIN_OBJS += $(OUTPUT)bench/numa.o
549 ifneq ($(call try-cc,$(SOURCE_LIBNUMA),$(FLAGS_LIBNUMA),libnuma),y)
550 msg := $(warning No numa.h found, disables 'perf bench numa mem' benchmark, please install numa-libs-devel or libnuma-dev);
551 else
552 BASIC_CFLAGS += -DLIBNUMA_SUPPORT
553 BUILTIN_OBJS += $(OUTPUT)bench/numa.o
554 EXTLIBS += -lnuma
555 endif
556endif 549endif
557 550
558ifdef ASCIIDOC8 551ifdef ASCIIDOC8