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
|
@ -2073,7 +2073,7 @@ void DerivationGoal::initChild()
|
||||||
if (drv.platform == "i686-linux" &&
|
if (drv.platform == "i686-linux" &&
|
||||||
(settings.thisSystem == "x86_64-linux" ||
|
(settings.thisSystem == "x86_64-linux" ||
|
||||||
(!strcmp(utsbuf.sysname, "Linux") && !strcmp(utsbuf.machine, "x86_64")))) {
|
(!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");
|
throw SysError("cannot set i686-linux personality");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue