From 9474e497c65d6dd3dac70485265bfb8e4ace6395 Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Sat, 2 May 2015 16:30:16 +0200 Subject: [PATCH] perl: Override cpprun configuration symbol This will not change any existing packages' functionality. All packages that used this symbol before during build(with it's value being "cc -E") most likely would've failed compilation. Note that this change is only in effect during build. Signed-off-by: Marcel Denia --- lang/perl/perlmod.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/perl/perlmod.mk b/lang/perl/perlmod.mk index 60d3335e0..05ddf283c 100644 --- a/lang/perl/perlmod.mk +++ b/lang/perl/perlmod.mk @@ -55,7 +55,7 @@ define perlmod/Configure (cd $(if $(3),$(3),$(PKG_BUILD_DIR)); \ PERL_MM_USE_DEFAULT=1 \ $(2) \ - $(PERL_CMD) Makefile.PL \ + $(PERL_CMD) -MConfig -e '$$$${tied %Config::Config}{cpprun}="$(GNU_TARGET_NAME)-cpp -E"; do "Makefile.PL"' \ $(1) \ AR=ar \ CC=$(GNU_TARGET_NAME)-gcc \