Merge pull request #189772 from tjni/btop-stackprotector

btop: reenable stackprotector on aarch64-darwin
This commit is contained in:
Domen Kožar 2022-09-11 16:53:43 +01:00 committed by GitHub
commit f043699a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
sha256 = hash;
};
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
ADDFLAGS = with darwin.apple_sdk.frameworks;
lib.optional stdenv.isDarwin
"-F${IOKit}/Library/Frameworks/";