diff options
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 8ad57b51d648..d62a2d7ff4e9 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -490,8 +490,8 @@ else | |||
490 | LIB_OBJS += util/probe-finder.o | 490 | LIB_OBJS += util/probe-finder.o |
491 | endif | 491 | endif |
492 | 492 | ||
493 | PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts` | 493 | PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts 2>/dev/null` |
494 | PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts` | 494 | PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null` |
495 | 495 | ||
496 | ifneq ($(shell sh -c "(echo '\#include <EXTERN.h>'; echo '\#include <perl.h>'; 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) | 496 | ifneq ($(shell sh -c "(echo '\#include <EXTERN.h>'; echo '\#include <perl.h>'; 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) |
497 | BASIC_CFLAGS += -DNO_LIBPERL | 497 | BASIC_CFLAGS += -DNO_LIBPERL |