diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2018-01-11 16:22:02 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2018-01-11 16:22:02 +0000 |
commit | 4c5b38d680d09a251859caba65bf240523fba890 (patch) | |
tree | 03aa9539102a9790dc8f3eec4d58da81d41eac34 /Mk | |
parent | 2b9ae60d030891dfec4a95d6ae5f2597d20d1106 (diff) |
CONFIGURE_ARGS already contains CC="${CC}". Also add LD="${CC}" so the
same compiler is used for both compiling and linking.
Notes
Notes:
svn path=/head/; revision=458753
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/perl5.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk index ebb420ac94e4..c5f1be2e71bf 100644 --- a/Mk/Uses/perl5.mk +++ b/Mk/Uses/perl5.mk @@ -237,7 +237,7 @@ TEST_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} . endif . if ${_USE_PERL5:Mconfigure} -CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ +CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" LD="${CC}" PREFIX="${PREFIX}" \ INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" CONFIGURE_SCRIPT?= Makefile.PL MAN3PREFIX?= ${PREFIX}/${SITE_PERL_REL} |