treewide: Get rid of *Platform.arch

Use `parsed.cpu.name` or `platform.gcc.arch` instead.
This commit is contained in:
John Ericson
2018-05-10 00:57:52 -04:00
parent a31984ecda
commit a02be2bd85
7 changed files with 11 additions and 17 deletions

View File

@@ -176,7 +176,7 @@ stdenv.mkDerivation rec {
"--cross-prefix=${stdenv.cc.targetPrefix}"
"--enable-cross-compile"
"--target_os=${hostPlatform.parsed.kernel.name}"
"--arch=${hostPlatform.arch}"
"--arch=${hostPlatform.parsed.cpu.name}"
];
};