netbsd: add aliases for i486 and i586

This commit is contained in:
ash lea 2021-06-04 18:17:46 -07:00 committed by Alyssa Ross
parent dbc6affe79
commit 3f2e9c6dcc

View file

@ -67,6 +67,8 @@ in lib.makeScopeWithSplicing
HOST_SH = stdenv'.shell;
MACHINE_ARCH = {
i486 = "i386";
i586 = "i386";
i686 = "i386";
}.${stdenv'.hostPlatform.parsed.cpu.name}
or stdenv'.hostPlatform.parsed.cpu.name;
@ -74,6 +76,8 @@ in lib.makeScopeWithSplicing
MACHINE = {
x86_64 = "amd64";
aarch64 = "evbarm64";
i486 = "i386";
i586 = "i386";
i686 = "i386";
}.${stdenv'.hostPlatform.parsed.cpu.name}
or stdenv'.hostPlatform.parsed.cpu.name;