From f6c581cc3ef85ee1b26a02456bcbf0bf52438a23 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 24 Mar 2015 13:13:01 +0000 Subject: automake: portability fixes The rework of the host tools discovery caused automake to embed absolute paths to staging_dir/host/bin/perl into the shebang of the generated automake executables. Switch to the portable "/usr/bin/env perl" and enable global warnings through "$^W" instead of the "-w" interpreter argument. Signed-off-by: Jo-Philipp Wich SVN-Revision: 44972 --- tools/automake/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/automake/Makefile') diff --git a/tools/automake/Makefile b/tools/automake/Makefile index 6395d84..0eea101 100644 --- a/tools/automake/Makefile +++ b/tools/automake/Makefile @@ -19,7 +19,9 @@ HOST_CONFIGURE_ARGS += \ --datarootdir=$(STAGING_DIR_HOST)/share \ --disable-silent-rules -HOST_CONFIGURE_VARS += am_cv_prog_PERL_ithreads=no +HOST_CONFIGURE_VARS += \ + PERL="/usr/bin/env perl" \ + am_cv_prog_PERL_ithreads=no define Host/Configure (cd $(HOST_BUILD_DIR); $(AM_TOOL_PATHS) STAGING_DIR="" ./bootstrap.sh) -- cgit v1.1