Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2021 09:54:43 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 84291da55def - main - Mk/bsd.port.mk: remove elfv2 workaround
Message-ID:  <202108180954.17I9sh8K091402@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit 84291da55deffddaf898aae91c5ef195d0093779
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-08-18 09:54:12 +0000
Commit:     Piotr Kubaj <pkubaj@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108180954.17I9sh8K091402>