Page MenuHomeFreeBSD

D21996.diff
No OneTemporary

D21996.diff

Index: head/Mk/bsd.port.mk
===================================================================
--- head/Mk/bsd.port.mk
+++ head/Mk/bsd.port.mk
@@ -1842,6 +1842,11 @@
.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

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 2:34 PM (7 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14803934
Default Alt Text
D21996.diff (524 B)

Event Timeline