void-packages/srcpkgs/polyml/patches/noffi_sysv.patch
2020-03-24 03:38:00 +01:00

11 lines
365 B
Diff

--- libpolyml/polyffi.cpp 2019-03-11 10:36:07.000000000 +0100
+++ libpolyml/polyffi.cpp 2020-03-23 22:55:46.741289487 +0100
@@ -111,7 +111,6 @@
#elif defined(X86_WIN64)
{"win64", FFI_WIN64},
-#elif defined(X86_ANY)
- {"sysv", FFI_SYSV},
+#elif defined(X86_ANY) && defined(__x86_64__)
{"unix64", FFI_UNIX64},
#endif
{ "default", FFI_DEFAULT_ABI}