diff --git a/pkgs/development/python-modules/greenlet/default.nix b/pkgs/development/python-modules/greenlet/default.nix index 03638e41377b..bde1bee459cd 100644 --- a/pkgs/development/python-modules/greenlet/default.nix +++ b/pkgs/development/python-modules/greenlet/default.nix @@ -37,7 +37,9 @@ let ]; # https://github.com/python-greenlet/greenlet/issues/395 - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isPower64 "-fomit-frame-pointer"; + env.NIX_CFLAGS_COMPILE = lib.optionalString ( + stdenv.hostPlatform.isPower64 || stdenv.hostPlatform.isLoongArch64 + ) "-fomit-frame-pointer"; preCheck = '' pushd ${placeholder "out"}/${python.sitePackages}