summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-14 14:16:20 +0100
committerLudovic Courtès <ludo@gnu.org>2015-05-11 17:39:31 +0200
commitb73de6e49b64d01974649a1e67a77113b768c2b1 (patch)
treef1cff4b475bba81c9d06d64e06921807a42cb372
parente0825bd36b43f3c1d408745a9c61f92fdaf7dace (diff)
downloadguix-b73de6e49b64d01974649a1e67a77113b768c2b1.tar.gz
Don't use ADDR_LIMIT_3GB
This gives 32-bit builds on x86_64-linux more memory.
-rw-r--r--nix/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index 49a6ac9704..8d3b216265 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -2110,7 +2110,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");
         }