Date: Fri, 06 Nov 2020 00:10:37 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 249990] sysutils/tracker: link failure (11.x, old ld(1)) Message-ID: <bug-249990-39348-8eVrfRqT3O@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249990-39348@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249990 --- Comment #5 from John Hein <jcfyecrayz@liamekaens.com> --- (In reply to Tobias C. Berner from comment #4) It's a no-op on 12.x+ since lld is the default (or so I thought, but see *). So in the interest of simplicity I decided to not bother with making it conditional. However (*), I have recently come to understand that powerpc64 (I think) does not have lld until 13.x, so to handle that, we might have to make it conditional. How about this: # This can be removed after 11.x is no longer supported .if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld LDFLAGS+= -fuse-ld=lld .endif Using OSVERSION is an option if powerpc64/11.x is not a supported combination - I believe that's true, but correct me if not: .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 LDFLAGS+= -fuse-ld=lld .endif -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249990-39348-8eVrfRqT3O>
