3
0
Fork 0
forked from mirrors/nixpkgs

rPackages: reenable stackprotector on aarch64-darwin

The original error that required disabling the stack protector on
aarch64-darwin has been fixed in GCC.
This commit is contained in:
Theodore Ni 2022-09-04 11:47:02 -07:00
parent 1ed43116cd
commit e0a5a1c3a0
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -10,8 +10,6 @@ stdenv.mkDerivation ({
NIX_CFLAGS_COMPILE =
lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
configurePhase = ''
runHook preConfigure
export R_LIBS_SITE="$R_LIBS_SITE''${R_LIBS_SITE:+:}$out/library"