Skip to content

Commit

Permalink
nix-shell: Disable gcc hardening to be able to build toolchain
Browse files Browse the repository at this point in the history
Currently, if building under `nix-shell Toolchain`, serenityOS'
gcc won't build because of hardening options added in nix,
more specifically the breaking format-security.
  • Loading branch information
kristofferkoch authored and ADKaster committed May 14, 2024
1 parent 13e44ab commit aa3e13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Toolchain/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ mkShell.override { stdenv = gcc13Stdenv; } {
qemu
python3
];
hardeningDisable = [ "format" ];
}

0 comments on commit aa3e13b

Please sign in to comment.