Date: Thu, 23 May 2019 09:12:34 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502329 - head/devel/llvm60 Message-ID: <201905230912.x4N9CYkU073986@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Thu May 23 09:12:33 2019 New Revision: 502329 URL: https://svnweb.freebsd.org/changeset/ports/502329 Log: Attempt to work around a problem with binutils not liking the armv6 code generated by LLVM 7. PR: 235282 With hat: portmgr Modified: head/devel/llvm60/Makefile Modified: head/devel/llvm60/Makefile ============================================================================== --- head/devel/llvm60/Makefile Thu May 23 09:01:39 2019 (r502328) +++ head/devel/llvm60/Makefile Thu May 23 09:12:33 2019 (r502329) @@ -256,6 +256,12 @@ _COMPILER_RT_LIBS+= \ CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif +# Use lld for armv6 on clang 7 and up to avoid binutils ld issues +# PR: 235282 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 70 +LDFLAGS_armv6=-fuse-ld=lld +.endif + .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905230912.x4N9CYkU073986>