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

Collapse All | Expand All

(-)Mk/bsd.port.mk (+14 lines)
Lines 1737-1742 Link Here
1737
.include "${PORTSDIR}/Mk/bsd.gcc.mk"
1737
.include "${PORTSDIR}/Mk/bsd.gcc.mk"
1738
.endif
1738
.endif
1739
1739
1740
_TEST_LD=/usr/bin/ld
1741
.if defined(LLD_UNSAFE) && ${_TEST_LD:tA} == "/usr/bin/ld.lld"
1742
LDFLAGS+=	-fuse-ld=bfd
1743
.  if !defined(USE_BINUTILS)
1744
.    if exists(/usr/bin/ld.bfd)
1745
LD=	/usr/bin/ld.bfd
1746
CONFIGURE_ENV+=	LD=${LD}
1747
MAKE_ENV+=	LD=${LD}
1748
.    else
1749
USE_BINUTILS=	yes
1750
.    endif
1751
.  endif
1752
.endif
1753
1740
.if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS)
1754
.if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS)
1741
BUILD_DEPENDS+=	${LOCALBASE}/bin/as:devel/binutils
1755
BUILD_DEPENDS+=	${LOCALBASE}/bin/as:devel/binutils
1742
BINUTILS?=	ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \
1756
BINUTILS?=	ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \
(-)devel/libunwind/Makefile (+1 lines)
Lines 25-30 Link Here
25
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
USES=		libtool pathfix pkgconfig
27
USES=		libtool pathfix pkgconfig
28
LLD_UNSAFE=	yes
28
29
29
PLIST_SUB=	ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|}
30
PLIST_SUB=	ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|}
30
31

Return to bug 214864