2010-06-18 04:40:10

by Tom Zanussi

[permalink] [raw]
Subject: [PATCH] perf: Makefile fix for Perl scripting

Fix a typo introduced by recent Makefile changes. Without it, Perl
scripting support won't get compiled in.

Signed-off-by: Tom Zanussi <[email protected]>
---
tools/perf/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 6aa2fe3..17a3692 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -577,7 +577,7 @@ ifdef NO_LIBPERL
else
PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts 2>/dev/null`
PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null`
- PERL_EMBED_FLAGS=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS)
+ FLAGS_PERL_EMBED=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS)

ifneq ($(call try-cc,$(SOURCE_PERL_EMBED),$(FLAGS_PERL_EMBED)),y)
BASIC_CFLAGS += -DNO_LIBPERL
--
1.6.4.GIT



2010-06-18 14:24:13

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [PATCH] perf: Makefile fix for Perl scripting

Em Thu, Jun 17, 2010 at 11:40:06PM -0500, Tom Zanussi escreveu:
> Fix a typo introduced by recent Makefile changes. Without it, Perl
> scripting support won't get compiled in.
>
> Signed-off-by: Tom Zanussi <[email protected]>

Right, sorry about that, applying,

- Arnaldo

> ---
> tools/perf/Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tools/perf/Makefile b/tools/perf/Makefile
> index 6aa2fe3..17a3692 100644
> --- a/tools/perf/Makefile
> +++ b/tools/perf/Makefile
> @@ -577,7 +577,7 @@ ifdef NO_LIBPERL
> else
> PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts 2>/dev/null`
> PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null`
> - PERL_EMBED_FLAGS=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS)
> + FLAGS_PERL_EMBED=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS)
>
> ifneq ($(call try-cc,$(SOURCE_PERL_EMBED),$(FLAGS_PERL_EMBED)),y)
> BASIC_CFLAGS += -DNO_LIBPERL
> --
> 1.6.4.GIT
>
>