View | Details | Raw Unified | Return to bug 239743 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.port.mk (-1 / +4 lines)
Lines 1820-1834 Link Here
1820
.endif
1820
.endif
1821
1821
1822
.if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
1822
.if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
1823
LDFLAGS+=	-fuse-ld=bfd
1824
BINARY_ALIAS+=	ld=${LD}
1823
BINARY_ALIAS+=	ld=${LD}
1825
.  if !defined(USE_BINUTILS)
1824
.  if !defined(USE_BINUTILS)
1826
.    if exists(/usr/bin/ld.bfd)
1825
.    if exists(/usr/bin/ld.bfd)
1826
.       if ${ARCH} != powerpc64 || ${OSVERSION} < 1300038
1827
LD=	/usr/bin/ld.bfd
1827
LD=	/usr/bin/ld.bfd
1828
LDFLAGS+=	-fuse-ld=bfd
1828
CONFIGURE_ENV+=	LD=${LD}
1829
CONFIGURE_ENV+=	LD=${LD}
1829
MAKE_ENV+=	LD=${LD}
1830
MAKE_ENV+=	LD=${LD}
1830
.    else
1831
.    else
1832
LDFLAGS+=	-fuse-ld=${LD}
1831
USE_BINUTILS=	yes
1833
USE_BINUTILS=	yes
1834
.      endif
1832
.    endif
1835
.    endif
1833
.  endif
1836
.  endif
1834
.endif
1837
.endif

Return to bug 239743