lang/guile3: disable lto on non-lld arches

thanks to visa@ for identifying the issue, ok jca@
This commit is contained in:
op 2022-08-19 07:24:09 +00:00
parent 44dcdac667
commit 70536e3ed7
1 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --enable-jit=no \
--program-suffix=${V}
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mlld}
CONFIGURE_ARGS+=--disable-lto
.endif
post-install:
install -d ${PREFIX}/share/guile/site/${V}/
# fix conflict with devel/guile{,2}