diff options
author | Bojan Nikolic <bojan@bnikolic.co.uk> | 2017-12-29 14:29:05 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-12-29 14:23:30 -0500 |
commit | 2e0ebc0532f89e4073cbea3f0ef1074a7a21dd8a (patch) | |
tree | 8b3e8315de477b3af98676baf201b0a9d260f073 /pkgs/os-specific/windows | |
parent | 2365e2ffcd1ecd95bda8a81fe7de32edc1073b35 (diff) |
mingw-w64: Disable stack hardening of the runtime
Do this because it is built with the static stage
Diffstat (limited to 'pkgs/os-specific/windows')
-rw-r--r-- | pkgs/os-specific/windows/mingw-w64/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/windows/mingw-w64/default.nix b/pkgs/os-specific/windows/mingw-w64/default.nix index 6e21826381b6..53050435256f 100644 --- a/pkgs/os-specific/windows/mingw-w64/default.nix +++ b/pkgs/os-specific/windows/mingw-w64/default.nix @@ -4,4 +4,5 @@ stdenv.mkDerivation { inherit (callPackage ./common.nix {}) name src; buildInputs = [ windows.mingw_w64_headers ]; dontStrip = true; + hardeningDisable = [ "stackprotector" "fortify" ]; } |