[Bug 239743] Mk/bsd.port.mk: don't switch to ld.bfd on powerpc64 with clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 9 15:33:59 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239743

--- Comment #3 from Antoine Brodin <antoine at FreeBSD.org> ---
You probably want something like this?

%%%
 LDFLAGS+=      -fuse-ld=bfd
 BINARY_ALIAS+= ld=${LD}
 .  if !defined(USE_BINUTILS)
-.    if exists(/usr/bin/ld.bfd)
+.    if exists(/usr/bin/ld.bfd) && (${ARCH} != powerpc64 || ${OSVERSION} <
1300038)
 LD=    /usr/bin/ld.bfd
 CONFIGURE_ENV+=        LD=${LD}
 MAKE_ENV+=     LD=${LD}
%%%

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list