Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
| Show First 20 Lines • Show All 1,837 Lines • ▼ Show 20 Lines | |||||
| PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN} | PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN} | ||||
| .endif | .endif | ||||
| .if defined(USE_GCC) | .if defined(USE_GCC) | ||||
| .include "${PORTSDIR}/Mk/bsd.gcc.mk" | .include "${PORTSDIR}/Mk/bsd.gcc.mk" | ||||
| .endif | .endif | ||||
| .if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld | .if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld | ||||
| BINARY_ALIAS+= ld=ld.bfd | |||||
| LDFLAGS+= -fuse-ld=bfd | LDFLAGS+= -fuse-ld=bfd | ||||
| . if !defined(USE_BINUTILS) | . if !defined(USE_BINUTILS) | ||||
antoine: += ? | |||||
| . if exists(/usr/bin/ld.bfd) | . if exists(/usr/bin/ld.bfd) | ||||
| LD= /usr/bin/ld.bfd | LD= /usr/bin/ld.bfd | ||||
| CONFIGURE_ENV+= LD=${LD} | CONFIGURE_ENV+= LD=${LD} | ||||
| MAKE_ENV+= LD=${LD} | MAKE_ENV+= LD=${LD} | ||||
| . else | . else | ||||
| USE_BINUTILS= yes | USE_BINUTILS= yes | ||||
| . endif | . endif | ||||
| . endif | . endif | ||||
| ▲ Show 20 Lines • Show All 3,580 Lines • Show Last 20 Lines | |||||
+= ?