aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index aea4ccdc4..6b1bc55f9 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1834,7 +1834,7 @@ void DerivationGoal::startBuilder()
#ifdef CAN_DO_LINUX32_BUILDS
if (drv.platform == "i686-linux" && thisSystem == "x86_64-linux") {
- if (personality(PER_LINUX32_3GB) == -1)
+ if (personality(0x0008 | 0x8000000 /* == PER_LINUX32_3GB */) == -1)
throw SysError("cannot set i686-linux personality");
}
#endif