aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-07-30 04:02:27 +0300
committermax99x <max99x@gmail.com>2011-07-30 04:02:27 +0300
commita6e44cf635adb9a46f86f655075f3817c741f76e (patch)
treef108ae5e8f664740244bf4839fcbf9855f9a737a /tools/shared.py
parentefacab6cd2ee666207ece72478c261dbaf476322 (diff)
parentda3cce725967ce04bdf62d73faf2d947f8063d0a (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 9ccc2105..0ee9a0ac 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -25,8 +25,8 @@ BINDINGS_GENERATOR = path_from_root('tools', 'bindings_generator.py')
# Engine tweaks
-if '-s' not in SPIDERMONKEY_ENGINE:
- SPIDERMONKEY_ENGINE += ['-s'] # Strict mode in SpiderMonkey. With V8 we check that fallback to non-strict works too
+if 'strict' not in str(SPIDERMONKEY_ENGINE):
+ SPIDERMONKEY_ENGINE += ['-e', "options('strict')"] # Strict mode in SpiderMonkey. With V8 we check that fallback to non-strict works too
if 'gcparam' not in str(SPIDERMONKEY_ENGINE):
SPIDERMONKEY_ENGINE += ['-e', "gcparam('maxBytes', 1024*1024*1024);"] # Our very large files need lots of gc heap