···103 # See below.
104 "--without-threads"
105 ]
106- # Disable JIT on Apple Silicon, as it is not yet supported
107- # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44505";
108- ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "--enable-jit=no"
109 # At least on x86_64-darwin '-flto' autodetection is not correct:
110 # https://github.com/NixOS/nixpkgs/pull/160051#issuecomment-1046193028
111 ++ lib.optional (stdenv.isDarwin) "--disable-lto";
···103 # See below.
104 "--without-threads"
105 ]
000106 # At least on x86_64-darwin '-flto' autodetection is not correct:
107 # https://github.com/NixOS/nixpkgs/pull/160051#issuecomment-1046193028
108 ++ lib.optional (stdenv.isDarwin) "--disable-lto";