svn commit: r438674 - head/devel/llvm40

Brooks Davis brooks at FreeBSD.org
Mon Apr 17 00:30:16 UTC 2017


Author: brooks
Date: Mon Apr 17 00:30:15 2017
New Revision: 438674
URL: https://svnweb.freebsd.org/changeset/ports/438674

Log:
  Fix build on armv6.
  
  PR:		218685
  Submitted by:	mmel

Modified:
  head/devel/llvm40/Makefile

Modified: head/devel/llvm40/Makefile
==============================================================================
--- head/devel/llvm40/Makefile	Sun Apr 16 21:19:33 2017	(r438673)
+++ head/devel/llvm40/Makefile	Mon Apr 17 00:30:15 2017	(r438674)
@@ -300,6 +300,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


More information about the svn-ports-head mailing list