Bug 510052 - JS fails to build in debug config in scratchbox. r=vlad

This commit is contained in:
Ben Combee 2009-10-27 13:48:06 -07:00
parent f5ef3c2a57
commit b832a6a72f

View File

@ -7381,8 +7381,10 @@ arm_read_auxv() {
else
{
// For production code, ignore invalid (or unexpected) platform strings and
// fall back to the default. For debug code, use an assertion to catch this.
JS_ASSERT(false);
// fall back to the default. For debug code, use an assertion to catch this
// when not running in scratchbox.
if (getenv("_SBOX_DIR") == NULL)
JS_ASSERT(false);
}
}
}