* Make it compile on Debian 4.0 (which doesn't define PER_LINUX32_3GB
in sys/personality.h).
This commit is contained in:
parent
019176137f
commit
061141e632
1 changed files with 1 additions and 1 deletions
|
@ -1834,7 +1834,7 @@ void DerivationGoal::startBuilder()
|
|||
|
||||
#ifdef CAN_DO_LINUX32_BUILDS
|
||||
if (drv.platform == "i686-linux" && thisSystem == "x86_64-linux") {
|
||||
if (personality(PER_LINUX32_3GB) == -1)
|
||||
if (personality(0x0008 | 0x8000000 /* == PER_LINUX32_3GB */) == -1)
|
||||
throw SysError("cannot set i686-linux personality");
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue