Using lld for samba alone is not enough, remove tentative fix

eg sysutils/usmb doesn't link, and using lld for all samba consumers
seems a bit far-fetched.

ok sthen@
This commit is contained in:
jca 2017-11-02 23:46:37 +00:00
parent 43f23fc9a2
commit 99115b8769

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.243 2017/11/02 19:56:29 jca Exp $
# $OpenBSD: Makefile,v 1.244 2017/11/02 23:46:37 jca Exp $
VERSION = 4.5.14
DISTNAME = samba-${VERSION}
@ -186,13 +186,8 @@ SAMBA_LOGDIR = ${VARBASE}/log/samba
SUBST_VARS = SAMBA_LOGDIR
.include <bsd.port.arch.mk>
post-patch:
find ${WRKSRC} -type f | xargs ${MODPY_BIN_ADJ}
.if ${PROPERTIES:Mclang}
ln -sf /usr/bin/ld.lld ${WRKDIR}/bin/ld
.endif
# Avoid bogus -L/usr/local/lib at the start of linker options
post-configure: