aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 1df09175d8d4..676302441e14 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -535,9 +535,8 @@ endif # PERF_HAVE_DWARF_REGS
535endif # NO_DWARF 535endif # NO_DWARF
536endif # NO_LIBELF 536endif # NO_LIBELF
537 537
538ifdef NO_LIBUNWIND 538ifndef NO_LIBUNWIND
539 BASIC_CFLAGS += -DNO_LIBUNWIND_SUPPORT 539 BASIC_CFLAGS += -DLIBUNWIND_SUPPORT
540else
541 EXTLIBS += $(LIBUNWIND_LIBS) 540 EXTLIBS += $(LIBUNWIND_LIBS)
542 BASIC_CFLAGS := $(LIBUNWIND_CFLAGS) $(BASIC_CFLAGS) 541 BASIC_CFLAGS := $(LIBUNWIND_CFLAGS) $(BASIC_CFLAGS)
543 BASIC_LDFLAGS := $(LIBUNWIND_LDFLAGS) $(BASIC_LDFLAGS) 542 BASIC_LDFLAGS := $(LIBUNWIND_LDFLAGS) $(BASIC_LDFLAGS)
@@ -747,8 +746,7 @@ ifeq ($(NO_PERF_REGS),0)
747 ifeq ($(ARCH),x86) 746 ifeq ($(ARCH),x86)
748 LIB_H += arch/x86/include/perf_regs.h 747 LIB_H += arch/x86/include/perf_regs.h
749 endif 748 endif
750else 749 BASIC_CFLAGS += -DHAVE_PERF_REGS
751 BASIC_CFLAGS += -DNO_PERF_REGS
752endif 750endif
753 751
754ifdef NO_STRLCPY 752ifdef NO_STRLCPY