lang/ghc: Since we already depend on binutils on ARM, use their strip, because our strip is incredibly slow.

PR:		234949
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D18842
This commit is contained in:
Gleb Popov 2019-01-16 08:04:03 +00:00
parent 20a305f9c5
commit 7fa38c4c12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490456

View file

@ -105,6 +105,7 @@ DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${EXTRACT_SUFX}:boot
.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
# CONFIGURE_TARGET must to be the same as the llvm triple
CONFIGURE_TARGET= ${ARCH}-unknown-freebsd${"${ARCH:Maarch64}" != "":?:-gnueabihf}
CONFIGURE_ENV+= STRIP=${LOCALBASE}/bin/strip
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-aclocal.m4
BUILD_DEPENDS+= ld.gold:devel/binutils \
llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}