aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2023-06-02 03:04:13 -0600
committerZhaofeng Li <hello@zhaofeng.li>2023-06-02 03:04:13 -0600
commit48632e6139889907999a253b36c1786cf085c43f (patch)
tree6782ca483116d97d4a1ae01ea9ce510a3b2c08f2 /src
parent27f82ef4a8fc589738ef06040dad5c0e214f97aa (diff)
Also set the PER_LINUX32 personality flag on armv5tel-linux
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build/personality.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/build/personality.cc b/src/libstore/build/personality.cc
index 4ad477869..1a6201758 100644
--- a/src/libstore/build/personality.cc
+++ b/src/libstore/build/personality.cc
@@ -21,7 +21,8 @@ void setPersonality(std::string_view system)
&& (std::string_view(SYSTEM) == "x86_64-linux"
|| (!strcmp(utsbuf.sysname, "Linux") && !strcmp(utsbuf.machine, "x86_64"))))
|| system == "armv7l-linux"
- || system == "armv6l-linux")
+ || system == "armv6l-linux"
+ || system == "armv5tel-linux")
{
if (personality(PER_LINUX32) == -1)
throw SysError("cannot set 32-bit personality");