mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
Allow building ARMv6 stuff on ARMv7
This allows building a Raspberry Pi image on modern, faster boards.
This commit is contained in:
parent
51cf4455b2
commit
2075ec83e3
1 changed files with 1 additions and 0 deletions
|
@ -1250,6 +1250,7 @@ static bool canBuildLocally(const string & platform)
|
||||||
return platform == settings.thisSystem
|
return platform == settings.thisSystem
|
||||||
#if __linux__
|
#if __linux__
|
||||||
|| (platform == "i686-linux" && settings.thisSystem == "x86_64-linux")
|
|| (platform == "i686-linux" && settings.thisSystem == "x86_64-linux")
|
||||||
|
|| (platform == "armv6l-linux" && settings.thisSystem == "armv7l-linux")
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue