From: Francois Perrad Date: Sat, 7 Jan 2017 08:12:17 +0000 (+0100) Subject: pkg-perl: set PERL_USE_UNSAFE_INC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d23a2a5079e950e66504a623c44b46146e90e34f;p=buildroot.git pkg-perl: set PERL_USE_UNSAFE_INC Recent perls are built with the `default_inc_excludes_dot` option. As many CPAN modules rely on '.' in @INC, the toolchain must set `PERL_USE_UNSAFE_INC`. Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk index a027810156..4b20598031 100644 --- a/package/pkg-perl.mk +++ b/package/pkg-perl.mk @@ -20,7 +20,7 @@ ################################################################################ PERL_ARCHNAME = $(ARCH)-linux -PERL_RUN = PERL5LIB= $(HOST_DIR)/usr/bin/perl +PERL_RUN = PERL5LIB= PERL_USE_UNSAFE_INC=1 $(HOST_DIR)/usr/bin/perl ################################################################################ # inner-perl-package -- defines how the configuration, compilation and