From a8b51c93d247651fea88da22d1ae97fc9c24a732 Mon Sep 17 00:00:00 2001 From: Markus Trippelsdorf Date: Wed, 19 Sep 2012 09:29:02 +0200 Subject: [PATCH] --- yaml --- r: 323879 b: refs/heads/master c: 3ce711a6abc27abce1554e1d671a8762b7187690 h: refs/heads/master i: 323877: ea48edafb05a26f1288e1b8ff94d92f16fe2f2fa 323875: 13eccf5f6f638eaa2ea809a78bdc5a04f3660db8 323871: b53a797af6626fb1812fe9f369a4b3ed79dbd022 v: v3 --- [refs] | 2 +- trunk/tools/perf/Makefile | 2 +- trunk/tools/perf/util/symbol.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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