Merge pull request #192630 from cidkidnix/fix-bash-android
bash: fix android cross-compile
This commit is contained in:
commit
4dbfb550f0
@ -33,7 +33,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1alv68wplnfdm6mh39hm57060xgssb9vqca4yr1cyva0c342n0fc";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
hardeningDisable = [ "format" ]
|
||||
# bionic libc is super weird and has issues with fortify outside of its own libc, check this comment:
|
||||
# https://github.com/NixOS/nixpkgs/pull/192630#discussion_r978985593
|
||||
# or you can check libc/include/sys/cdefs.h in bionic source code
|
||||
++ optional (stdenv.hostPlatform.libc == "bionic") "fortify";
|
||||
|
||||
outputs = [ "out" "dev" "man" "doc" "info" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user