mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Don't use ADDR_LIMIT_3GB
This gives 32-bit builds on x86_64-linux more memory.
This commit is contained in:
parent
5ef2453139
commit
8cfe939b0f
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue