lib platform parsing: Fix windows support to conform to LLVM, take 2

Second attempt at pull request #25275

This reverts commit b70924bd80,
reapplying 2282a5774c
This commit is contained in:
John Ericson
2017-05-17 11:16:00 -04:00
parent 296753f094
commit 371ebc89ca
4 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ in rec {
mips = filterDoubles (matchAttrs { cpu = { family = "mips"; }; });
x86_64 = filterDoubles parse.isx86_64;
cygwin = filterDoubles (matchAttrs { kernel = parse.kernels.cygwin; });
cygwin = filterDoubles parse.isCygwin;
darwin = filterDoubles parse.isDarwin;
freebsd = filterDoubles (matchAttrs { kernel = parse.kernels.freebsd; });
gnu = filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnu; }); # Should be better