diff --git a/devel/llvm39/Makefile b/devel/llvm39/Makefile index e66a1325c9db..406342975ba1 100644 --- a/devel/llvm39/Makefile +++ b/devel/llvm39/Makefile @@ -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