aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index b0f164b133d9..c8fb0fd9fd37 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -90,7 +90,7 @@ endif
90 90
91# Treat warnings as errors unless directed not to 91# Treat warnings as errors unless directed not to
92ifneq ($(WERROR),0) 92ifneq ($(WERROR),0)
93 CFLAGS_WERROR := -Werror 93 CFLAGS_WERROR := -Werror
94endif 94endif
95 95
96ifeq ("$(origin DEBUG)", "command line") 96ifeq ("$(origin DEBUG)", "command line")
@@ -819,10 +819,10 @@ endif
819ifdef NO_DEMANGLE 819ifdef NO_DEMANGLE
820 BASIC_CFLAGS += -DNO_DEMANGLE 820 BASIC_CFLAGS += -DNO_DEMANGLE
821else 821else
822 ifdef HAVE_CPLUS_DEMANGLE 822 ifdef HAVE_CPLUS_DEMANGLE
823 EXTLIBS += -liberty 823 EXTLIBS += -liberty
824 BASIC_CFLAGS += -DHAVE_CPLUS_DEMANGLE 824 BASIC_CFLAGS += -DHAVE_CPLUS_DEMANGLE
825 else 825 else
826 FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -DPACKAGE='perf' -lbfd 826 FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -DPACKAGE='perf' -lbfd
827 has_bfd := $(call try-cc,$(SOURCE_BFD),$(FLAGS_BFD),libbfd) 827 has_bfd := $(call try-cc,$(SOURCE_BFD),$(FLAGS_BFD),libbfd)
828 ifeq ($(has_bfd),y) 828 ifeq ($(has_bfd),y)