Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103246508
D21996.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
524 B
Referenced Files
None
Subscribers
None
D21996.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D21996: Mk/bsd.port.mk: don't switch to ld.bfd on powerpc64 with clang
Attached
Detach File
Event Timeline
Log In to Comment