diff --git a/Makefile b/Makefile index 7c1c07a2e4..71b622474f 100644 --- a/Makefile +++ b/Makefile @@ -396,6 +396,9 @@ unexport DESTDIR # Causes breakage with packages that needs host-ruby unexport RUBYOPT +# Compilation of perl-related packages will fail otherwise +unexport PERL_MM_OPT + include package/pkg-utils.mk include package/doc-asciidoc.mk diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index 2b678ae8c4..4b5012b807 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -46,15 +46,6 @@ case ":${PATH:-unset}:" in ;; esac -if test -n "$PERL_MM_OPT" ; then - echo - echo "You have PERL_MM_OPT defined because Perl local::lib" - echo "is installed on your system. Please unset this variable" - echo "before starting Buildroot, otherwise the compilation of" - echo "Perl related packages will fail" - exit 1 -fi - check_prog_host() { prog="$1"