about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-14T13·16+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-14T13·16+0100
commit8cfe939b0f222e3b27493a3c62e0b1088b12e110 (patch)
tree15b7abfa13c02f20958c777fd77be1a2d0f345fe /src
parent5ef245313939b9e35ba977869700658201949d3a (diff)
Don't use ADDR_LIMIT_3GB
This gives 32-bit builds on x86_64-linux more memory.
Diffstat (limited to 'src')
-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 5aea4742a97b..54cce15a6463 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2073,7 +2073,7 @@ void DerivationGoal::initChild()
         if (drv.platform == "i686-linux" &&
             (settings.thisSystem == "x86_64-linux" ||
              (!strcmp(utsbuf.sysname, "Linux") && !strcmp(utsbuf.machine, "x86_64")))) {
-            if (personality(PER_LINUX32_3GB) == -1)
+            if (personality(PER_LINUX32) == -1)
                 throw SysError("cannot set i686-linux personality");
         }