mirror of
https://github.com/NixOS/nix
synced 2025-07-05 20:41:47 +02:00
* Map "ppc" to "powerpc" so that Linux on PowerPC will be reported as
"powerpc-linux".
This commit is contained in:
parent
e64c4f5742
commit
e5678b3435
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ case $machine_name in
|
||||||
i*86)
|
i*86)
|
||||||
machine_name=i686
|
machine_name=i686
|
||||||
;;
|
;;
|
||||||
|
ppc)
|
||||||
|
machine_name=powerpc
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
if test "$cpu_name" != "unknown"; then
|
if test "$cpu_name" != "unknown"; then
|
||||||
machine_name=$cpu_name
|
machine_name=$cpu_name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue