Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2017 00:30:15 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438674 - head/devel/llvm40
Message-ID:  <201704170030.v3H0UF7x099376@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704170030.v3H0UF7x099376>