All of
 help / color / mirror / Atom feed
From: Stephane Eranian <>
Subject: [PATCH] perf tools: fix NO_GTK2 Makefile config error
Date: Tue, 10 Apr 2012 12:35:13 +0200	[thread overview]
Message-ID: <20120410103513.GA9229@quad> (raw)

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:

This patch renames the variable to the correct name.
Signed-off-by: Stephane Eranian <>

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 820371f..a20d0c5 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -527,7 +527,7 @@ else
 ifdef NO_GTK2
 	FLAGS_GTK2=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) $(shell pkg-config --libs --cflags gtk+-2.0)
 	ifneq ($(call try-cc,$(SOURCE_GTK2),$(FLAGS_GTK2)),y)

             reply	other threads:[~2012-04-10 10:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 10:35 Stephane Eranian [this message]
2012-04-12  5:19 ` Namhyung Kim
2012-04-12  8:55   ` Stephane Eranian
2012-04-12 18:47     ` Arnaldo Carvalho de Melo
2012-04-15  8:35 ` [tip:perf/urgent] " tip-bot for Stephane Eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120410103513.GA9229@quad \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] perf tools: fix NO_GTK2 Makefile config error' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.