diff --git a/[refs] b/[refs] index 8a24ddc0869a..8aebc95875b5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 70d9304475730a63dd8da884abc7c76ee4772cd2 +refs/heads/master: 3ce711a6abc27abce1554e1d671a8762b7187690 diff --git a/trunk/tools/perf/Makefile b/trunk/tools/perf/Makefile index 3ae6a59635ca..251dcd7fb5ac 100644 --- a/trunk/tools/perf/Makefile +++ b/trunk/tools/perf/Makefile @@ -715,7 +715,7 @@ else EXTLIBS += -liberty BASIC_CFLAGS += -DHAVE_CPLUS_DEMANGLE else - FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -lbfd + FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -DPACKAGE='perf' -lbfd has_bfd := $(call try-cc,$(SOURCE_BFD),$(FLAGS_BFD)) ifeq ($(has_bfd),y) EXTLIBS += -lbfd diff --git a/trunk/tools/perf/util/symbol.h b/trunk/tools/perf/util/symbol.h index 4ff45e30c726..b441b07172b7 100644 --- a/trunk/tools/perf/util/symbol.h +++ b/trunk/tools/perf/util/symbol.h @@ -34,6 +34,7 @@ static inline char *bfd_demangle(void __maybe_unused *v, return NULL; } #else +#define PACKAGE 'perf' #include #endif #endif