From ecbf5edc458e2a65ef37c72ccbe28ce373127646 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Wed, 14 Feb 2024 09:43:41 -0600 Subject: [PATCH] Disable memfd_create in libffi Workaround for #138 until we can come up with a better solution. --- jni/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jni/GNUmakefile b/jni/GNUmakefile index f12883ac..8ac84a61 100755 --- a/jni/GNUmakefile +++ b/jni/GNUmakefile @@ -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: