summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorWaley Chen <waleycz@gmail.com>2016-04-11 17:23:59 -0400
committerWaley Chen <waleycz@gmail.com>2016-04-14 14:58:29 -0400
commit0f1f80e2f7cf0ca1fbc9354b5fa2fad705207677 (patch)
treeee9535bda9ca68676c563e05e8aae2a4ba77ae79 /SConstruct
parent6056752d4e5a028418412f50d1f2f3b965dc0e6f (diff)
downloadmongo-0f1f80e2f7cf0ca1fbc9354b5fa2fad705207677.tar.gz
SERVER-23571 Make debug builds of SpiderMonkey distinct from --dbg in scons
(cherry picked from commit 95d6f8c8a4e8a3645d3e9e42f070a28eaaf5c97e)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct9
1 files changed, 9 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index f68d4f65a01..6a53a8f4079 100644
--- a/SConstruct
+++ b/SConstruct
@@ -244,6 +244,15 @@ add_option('dbg',
type='choice',
)
+add_option('spider-monkey-dbg',
+ choices=['on', 'off'],
+ const='on',
+ default='off',
+ help='Enable SpiderMonkey debug mode',
+ nargs='?',
+ type='choice',
+)
+
add_option('opt',
choices=['on', 'off'],
const='on',