about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Litak <elitak@gmail.com>2016-09-16T20·03-0700
committerDomen Kožar <domen@dev.si>2016-09-16T20·03+0200
commit0d38b4c7926890decbe2b03ed8f84584a5ce9b8a (patch)
tree64418cc78efb87a94d253ef07bb8aca5195fb710
parent75989bdca773eedb8b8d1cc8a7675900358acd25 (diff)
armv5tel can be built by armv6l and armv7l (#1063)
-rw-r--r--src/libstore/derivations.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc
index 3b6a62e13df2..d934bda38225 100644
--- a/src/libstore/derivations.cc
+++ b/src/libstore/derivations.cc
@@ -61,6 +61,7 @@ bool BasicDerivation::canBuildLocally() const
 #if __linux__
         || (platform == "i686-linux" && settings.thisSystem == "x86_64-linux")
         || (platform == "armv6l-linux" && settings.thisSystem == "armv7l-linux")
+        || (platform == "armv5tel-linux" && (settings.thisSystem == "armv7l-linux" || settings.thisSystem == "armv6l-linux"))
 #elif __FreeBSD__
         || (platform == "i686-linux" && settings.thisSystem == "x86_64-freebsd")
         || (platform == "i686-linux" && settings.thisSystem == "i686-freebsd")