aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-08-18 09:54:12 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-08-18 09:54:12 +0000
commit84291da55deffddaf898aae91c5ef195d0093779 (patch)
tree2d0ce6fb3edabec31f99dd46a6d7e32c567f6042
parent327f6f14b6f2a83def81f5ef06010307d869ba32 (diff)
downloadports-84291da55deffddaf898aae91c5ef195d0093779.tar.gz
ports-84291da55deffddaf898aae91c5ef195d0093779.zip
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
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 0 insertions, 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