git: 84291da55def - main - Mk/bsd.port.mk: remove elfv2 workaround

Piotr Kubaj pkubaj at FreeBSD.org
Wed Aug 18 09:54:44 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84291da55deffddaf898aae91c5ef195d0093779

commit 84291da55deffddaf898aae91c5ef195d0093779
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-08-18 09:54:12 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-08-18 09:54:12 +0000

    Mk/bsd.port.mk: remove elfv2 workaround
    
    Binutils is not present anymore on elfv2 systems.
    
    Fixes build of audio/invada-studio-plugins-lv2:
    /usr/local/bin/ld: unrecognized option '-B/usr/local/bin'
    /usr/local/bin/ld: use the --help option for usage information
---
 Mk/bsd.port.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 7675c4b53691..fdf6c90b4f36 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1861,11 +1861,6 @@ PKG_DEPENDS+=	${LOCALBASE}/sbin/pkg:${PKG_ORIGIN}
 .if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
 LDFLAGS+=	-fuse-ld=bfd
 BINARY_ALIAS+=	ld=${LD}
-.  if ${ARCH} == powerpc64
-# Base ld.bfd can't do ELFv2 which powerpc64 with Clang in base uses
-USE_BINUTILS=	yes
-LDFLAGS+=		-B${LOCALBASE}/bin
-.  endif
 .  if !defined(USE_BINUTILS)
 .    if exists(/usr/bin/ld.bfd)
 LD=	/usr/bin/ld.bfd


More information about the dev-commits-ports-all mailing list