diff --git a/srcpkgs/polyml/patches/noffi_sysv.patch b/srcpkgs/polyml/patches/noffi_sysv.patch index 2b8b84c4e66..76022a79291 100644 --- a/srcpkgs/polyml/patches/noffi_sysv.patch +++ b/srcpkgs/polyml/patches/noffi_sysv.patch @@ -3,8 +3,9 @@ @@ -111,7 +111,6 @@ #elif defined(X86_WIN64) {"win64", FFI_WIN64}, - #elif defined(X86_ANY) +-#elif defined(X86_ANY) - {"sysv", FFI_SYSV}, ++#elif defined(X86_ANY) && defined(__x86_64__) {"unix64", FFI_UNIX64}, #endif { "default", FFI_DEFAULT_ABI}