libffi: disable new static trampolines feature

This commit is contained in:
Ryan Burns 2021-08-13 14:23:09 -07:00
parent e60a466252
commit c05fbdb068

View file

@ -24,6 +24,12 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-gcc-arch=generic" # no detection of -march= or -mtune=
"--enable-pax_emutramp"
# Causes issues in downstream packages which misuse ffi_closure_alloc
# Reenable once these issues are fixed and merged:
# https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283
"--disable-exec-static-tramp"
];
preCheck = ''