diff options
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 8 |
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 | |||
535 | endif # NO_DWARF | 535 | endif # NO_DWARF |
536 | endif # NO_LIBELF | 536 | endif # NO_LIBELF |
537 | 537 | ||
538 | ifdef NO_LIBUNWIND | 538 | ifndef NO_LIBUNWIND |
539 | BASIC_CFLAGS += -DNO_LIBUNWIND_SUPPORT | 539 | BASIC_CFLAGS += -DLIBUNWIND_SUPPORT |
540 | else | ||
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 |
750 | else | 749 | BASIC_CFLAGS += -DHAVE_PERF_REGS |
751 | BASIC_CFLAGS += -DNO_PERF_REGS | ||
752 | endif | 750 | endif |
753 | 751 | ||
754 | ifdef NO_STRLCPY | 752 | ifdef NO_STRLCPY |