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/> References: <bug-249990-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249990 --- 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 *)= .=20 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) do= es 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} !=3D /usr/bin/ld.lld LDFLAGS+=3D -fuse-ld=3Dlld .endif Using OSVERSION is an option if powerpc64/11.x is not a supported combinati= on - I believe that's true, but correct me if not: .if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} < 1200000 LDFLAGS+=3D -fuse-ld=3Dlld .endif --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249990-39348-8eVrfRqT3O>