armv5tel can be built by armv6l and armv7l (#1063)

This commit is contained in:
Eric Litak 2016-09-16 13:03:34 -07:00 committed by Domen Kožar
parent 75989bdca7
commit 0d38b4c792

View File

@ -61,6 +61,7 @@ bool BasicDerivation::canBuildLocally() const
#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") || (platform == "armv6l-linux" && settings.thisSystem == "armv7l-linux")
|| (platform == "armv5tel-linux" && (settings.thisSystem == "armv7l-linux" || settings.thisSystem == "armv6l-linux"))
#elif __FreeBSD__ #elif __FreeBSD__
|| (platform == "i686-linux" && settings.thisSystem == "x86_64-freebsd") || (platform == "i686-linux" && settings.thisSystem == "x86_64-freebsd")
|| (platform == "i686-linux" && settings.thisSystem == "i686-freebsd") || (platform == "i686-linux" && settings.thisSystem == "i686-freebsd")