devel/libffi: fix build with lld17

ld: error: version script assignment of 'LIBFFI_BASE_8.0' to symbol 'ffi_type_longdouble' failed: symbol not defined
This commit is contained in:
Piotr Kubaj 2023-12-23 17:59:59 +01:00
commit b547544132

View file

@ -22,6 +22,8 @@ INSTALL_TARGET= install-strip
INFO= libffi
TEST_TARGET= check
LDFLAGS+= -Wl,--undefined-version
post-patch:
@${REINPLACE_CMD} -e 's| -Wno-psabi||g' \
${WRKSRC}/testsuite/lib/libffi.exp