Attempt to fix build on armv6.

PR:		217145
Submitted by:	mmel via mikael.urankar@gmail.com
Reported by:	Sylvain Garrigues <sylvain@sylvaingarrigues.com>
This commit is contained in:
Brooks Davis 2017-02-20 19:11:44 +00:00
parent 3fdf74fad0
commit 69920e15db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434485

View file

@ -279,6 +279,12 @@ PORTDOCS+= lld
CXXFLAGS+= -D_GLIBCXX_USE_C99
.endif
.if ${ARCH} == "armv6"
BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
.endif
.if ${PYTHON_REL} < 3400
LLDB_BUILD_DEPENDS+= \
${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34