svn commit: r492319 - head/devel/llvm80
Brooks Davis
brooks at FreeBSD.org
Wed Feb 6 19:01:24 UTC 2019
Author: brooks
Date: Wed Feb 6 19:01:23 2019
New Revision: 492319
URL: https://svnweb.freebsd.org/changeset/ports/492319
Log:
Attempt to work around a problem with binutils not liking the armv6 code
generated buy LLVM 7.
PR: 235282
Modified:
head/devel/llvm80/Makefile
Modified: head/devel/llvm80/Makefile
==============================================================================
--- head/devel/llvm80/Makefile Wed Feb 6 18:49:07 2019 (r492318)
+++ head/devel/llvm80/Makefile Wed Feb 6 19:01:23 2019 (r492319)
@@ -300,6 +300,12 @@ MAN1SRCS+= bugpoint.1 dsymutil.1 llc.1 lli.1 llvm-ar.1
.include <bsd.port.pre.mk>
+# 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
+
_CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd
_CRTBLDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/share
_COMPILER_RT_BLACKLISTS= cfi_blacklist.txt
More information about the svn-ports-head
mailing list