mingw-w64 libc: Multiple outputs and parallel builds

Also deduplicate more of the GCC derivations.
This commit is contained in:
John Ericson
2019-11-11 00:25:24 -05:00
parent 06c5e811e6
commit 999ef20129
11 changed files with 89 additions and 145 deletions
@@ -11,11 +11,15 @@ in stdenv.mkDerivation {
sha256 = "00zq3z1hbzd5yzmskskjg79xrzwsqx7ihyprfaxy4hb897vf29sm";
};
outputs = [ "out" "dev" ];
configureFlags = [
"--enable-idl"
"--enable-secure-api"
];
enableParallelBuilding = true;
buildInputs = [ windows.mingw_w64_headers ];
dontStrip = true;
hardeningDisable = [ "stackprotector" "fortify" ];