mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
Merge pull request #161451 from johnbcoughlin/petsc-disable-hardening
Disable stackprotector on aarch64-darwin for PETSc
This commit is contained in:
commit
14780ccf6a
@ -67,6 +67,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureScript = "python ./configure";
|
||||
|
||||
# disable stackprotector on aarch64-darwin for now
|
||||
# https://github.com/NixOS/nixpkgs/issues/158730
|
||||
# see https://github.com/NixOS/nixpkgs/issues/127608 for a similar issue
|
||||
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user