Skip to content

Commit b547544

Browse files
committed
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
1 parent 08ff770 commit b547544

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎devel/libffi/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ INSTALL_TARGET= install-strip
2222
INFO= libffi
2323
TEST_TARGET= check
2424

25+
LDFLAGS+= -Wl,--undefined-version
26+
2527
post-patch:
2628
@${REINPLACE_CMD} -e 's| -Wno-psabi||g' \
2729
${WRKSRC}/testsuite/lib/libffi.exp

0 commit comments

Comments
 (0)