bash: fix android cross-compile

This commit is contained in:
cidkidnix 2022-09-23 09:47:53 -05:00
parent 52117cce92
commit 2b6bf950e7

View file

@ -33,7 +33,9 @@ stdenv.mkDerivation rec {
sha256 = "1alv68wplnfdm6mh39hm57060xgssb9vqca4yr1cyva0c342n0fc";
};
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ]
# https://android.googlesource.com/platform/bionic/+/1342527b5791a53bf441322ab9adf41c8e060a1e%5E2..1342527b5791a53bf441322ab9adf41c8e060a1e/
++ optional (stdenv.hostPlatform.useAndroidPrebuilt or false) "fortify";
outputs = [ "out" "dev" "man" "doc" "info" ];