Skip to content

Commit

Permalink
Merge pull request #168573 from a-m-joseph/boost178-architecture-rena…
Browse files Browse the repository at this point in the history
…ming

boost: fix taxonomy mistake, account taxonomy change in v1.78
  • Loading branch information
SuperSandro2000 authored Apr 15, 2022
2 parents 13e0fad + 5952698 commit f19b0a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/boost/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ let
# TODO: make this unconditional
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"address-model=${toString stdenv.hostPlatform.parsed.cpu.bits}"
"architecture=${if stdenv.hostPlatform.isMips64 then "mips64" else toString stdenv.hostPlatform.parsed.cpu.family}"
"architecture=${if stdenv.hostPlatform.isMips64
then if versionOlder version "1.78" then "mips1" else "mips"
else toString stdenv.hostPlatform.parsed.cpu.family}"
"binary-format=${toString stdenv.hostPlatform.parsed.kernel.execFormat.name}"
"target-os=${toString stdenv.hostPlatform.parsed.kernel.name}"

Expand Down

0 comments on commit f19b0a5

Please sign in to comment.