3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/windows/mingw-w64/default.nix
Bojan Nikolic 2e0ebc0532 mingw-w64: Disable stack hardening of the runtime
Do this because it is built with the static stage
2017-12-29 14:23:30 -05:00

9 lines
229 B
Nix

{ stdenv, callPackage, windows }:
stdenv.mkDerivation {
inherit (callPackage ./common.nix {}) name src;
buildInputs = [ windows.mingw_w64_headers ];
dontStrip = true;
hardeningDisable = [ "stackprotector" "fortify" ];
}