Skip to content

Commit

Permalink
Merge pull request #155 from jnr/disable_memfd_create
Browse files Browse the repository at this point in the history
Disable memfd_create in libffi
  • Loading branch information
headius authored Feb 14, 2024
2 parents fb304d5 + ecbf5ed commit 104acce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jni/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ ifdef CONFIGURE_BUILD
LIBFFI_CONFIGURE += --build=$(CONFIGURE_BUILD)
endif

# Disable memfd_create which binds us to newer glibc (jnr/jffi#138)
LIBFFI_CONFIGURE += 'ac_cv_func_memfd_create=no'

all: $(LIBJFFI)

debug:
Expand Down

0 comments on commit 104acce

Please sign in to comment.