From 882d0b9186462aa72a54c2385bc7470388a2cd2c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 30 Nov 2009 01:18:46 -0600 Subject: [PATCH] --- yaml --- r: 169862 b: refs/heads/master c: f8be4231f82ab56a87ce74906671afbe1aa9ec75 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 178799e78ab1..7fb6f4c6a35b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cf72344d1ad7b33805ef8d65e758b267e6f4cb8d +refs/heads/master: f8be4231f82ab56a87ce74906671afbe1aa9ec75 diff --git a/trunk/tools/perf/Makefile b/trunk/tools/perf/Makefile index 8ad57b51d648..d62a2d7ff4e9 100644 --- a/trunk/tools/perf/Makefile +++ b/trunk/tools/perf/Makefile @@ -490,8 +490,8 @@ else LIB_OBJS += util/probe-finder.o endif -PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts` -PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts` +PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts 2>/dev/null` +PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null` ifneq ($(shell sh -c "(echo '\#include '; echo '\#include '; echo 'int main(void) { perl_alloc(); return 0; }') | $(CC) -x c - $(PERL_EMBED_CCOPTS) -o /dev/null $(PERL_EMBED_LDOPTS) > /dev/null 2>&1 && echo y"), y) BASIC_CFLAGS += -DNO_LIBPERL