Date: Thu, 16 Jan 2020 13:08:58 +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: r523228 - head/devel/llvm-devel Message-ID: <202001161308.00GD8wYB036095@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Thu Jan 16 13:08:57 2020 New Revision: 523228 URL: https://svnweb.freebsd.org/changeset/ports/523228 Log: Attempt to fix build on 11 (i386 and amd64) and 12 (i386). On the package builders, the bfd linker crashes when linking so force the use of lld. Modified: head/devel/llvm-devel/Makefile Modified: head/devel/llvm-devel/Makefile ============================================================================== --- head/devel/llvm-devel/Makefile Thu Jan 16 13:02:32 2020 (r523227) +++ head/devel/llvm-devel/Makefile Thu Jan 16 13:08:57 2020 (r523228) @@ -276,6 +276,13 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PRO .include <bsd.port.pre.mk> .include "${.CURDIR}/Makefile.COMMANDS" +.if ${OPSYS} == "FreeBSD" && ${OSREL} < 13 +LDFLAGS_i386=-fuse-ld=lld +.endif +.if ${OPSYS} == "FreeBSD" && ${OSREL} < 12 +LDFLAGS_amd64=-fuse-ld=lld +.endif + .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001161308.00GD8wYB036095>