diff options
author | tijl <tijl@FreeBSD.org> | 2018-01-12 00:22:02 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2018-01-12 00:22:02 +0800 |
commit | 2a2600a75a9565851712ee7ba5f922f718250bd0 (patch) | |
tree | 03aa9539102a9790dc8f3eec4d58da81d41eac34 /Mk/Uses | |
parent | 8d1f614996619fe759de0ae44865a5dfae45c364 (diff) | |
download | freebsd-ports-gnome-2a2600a75a9565851712ee7ba5f922f718250bd0.tar.gz freebsd-ports-gnome-2a2600a75a9565851712ee7ba5f922f718250bd0.tar.zst freebsd-ports-gnome-2a2600a75a9565851712ee7ba5f922f718250bd0.zip |
CONFIGURE_ARGS already contains CC="${CC}". Also add LD="${CC}" so the
same compiler is used for both compiling and linking.
Diffstat (limited to 'Mk/Uses')
-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} |