3
0
Fork 0
forked from mirrors/nixpkgs

gcc-4.5: Fix typo

This commit is contained in:
John Ericson 2017-09-04 15:49:17 -04:00
parent 22b79aecc6
commit 6a089581f8

View file

@ -65,7 +65,7 @@ let version = "4.5.4";
/* Cross-gcc settings */
gccArch = stdenv.lib.attrByPath [ "gcc" "arch" ] null targetPlatform;
gccCpu = stdenv.lib.attrByPath [ "gcc" "cpu" ] null targetPlatformt;
gccCpu = stdenv.lib.attrByPath [ "gcc" "cpu" ] null targetPlatform;
gccAbi = stdenv.lib.attrByPath [ "gcc" "abi" ] null targetPlatform;
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";