Skip to content

Commit

Permalink
devel/libffi: fix build with lld17
Browse files Browse the repository at this point in the history
ld: error: version script assignment of 'LIBFFI_BASE_8.0' to symbol 'ffi_type_longdouble' failed: symbol not defined
  • Loading branch information
pkubaj committed Dec 24, 2023
1 parent 08ff770 commit b547544
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devel/libffi/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit b547544

Please sign in to comment.