aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStephane Eranian <eranian@google.com>2012-04-10 06:35:13 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-04-12 14:48:15 -0400
commitf755397211745e26a4cc693a195982de6c454edd (patch)
tree588cc2191b2fc8dcf5c82e10152627aa0370ed7b /tools
parent6782206b5dfece4c51f587b3ca1540a4027f87dd (diff)
perf tools: fix NO_GTK2 Makefile config error
In case the user specified NO_GTK2 on the make cmdline, compilation would fail with undefined symbol because the Makefile would not set the correct cpp variable: NO_GTK2 vs. NO_GTK2_SUPPORT. This patch renames the variable to the correct name. Signed-off-by: Stephane Eranian <eranian@google.com> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Pekka Enberg <penberg@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20120410103513.GA9229@quad Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 820371f10d1b..a20d0c599b22 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -527,7 +527,7 @@ else
527endif 527endif
528 528
529ifdef NO_GTK2 529ifdef NO_GTK2
530 BASIC_CFLAGS += -DNO_GTK2 530 BASIC_CFLAGS += -DNO_GTK2_SUPPORT
531else 531else
532 FLAGS_GTK2=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) $(shell pkg-config --libs --cflags gtk+-2.0) 532 FLAGS_GTK2=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) $(shell pkg-config --libs --cflags gtk+-2.0)
533 ifneq ($(call try-cc,$(SOURCE_GTK2),$(FLAGS_GTK2)),y) 533 ifneq ($(call try-cc,$(SOURCE_GTK2),$(FLAGS_GTK2)),y)