From f5efc12367287eff4a359fee3db3a3c4027b4aec Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 8 Oct 2019 21:51:31 +0300 Subject: [PATCH] perl: allow CC and friends --- core/perl/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/perl/build b/core/perl/build index 44149293..a81dc976 100755 --- a/core/perl/build +++ b/core/perl/build @@ -20,6 +20,10 @@ export CFLAGS="$CFLAGS -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE" -Dlddlflags="-shared $LDFLAGS" \ -Dldflags="$LDFLAGS" \ -Doptimize="-Wall $CFLAGS" \ + -Dcc="${CC:-gcc}" \ + -Dar="${AR:-ar}" \ + -Dnm="${NM:-nm}" \ + -Dranlib="${RANLIB:-ranlib}" \ -Dperl_static_inline="static __inline__" \ -Dd_static_inline