From 8cfe939b0f222e3b27493a3c62e0b1088b12e110 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 14 Nov 2014 14:16:20 +0100 Subject: Don't use ADDR_LIMIT_3GB This gives 32-bit builds on x86_64-linux more memory. --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore') 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"); } -- cgit 1.4.1