summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.py7
-rw-r--r--test/parallel/test-code-cache.js2
2 files changed, 2 insertions, 7 deletions
diff --git a/configure.py b/configure.py
index 8af0aab3dc..6a0bfd0860 100755
--- a/configure.py
+++ b/configure.py
@@ -515,11 +515,6 @@ parser.add_option('--without-siphash',
dest='without_siphash',
help=optparse.SUPPRESS_HELP)
-parser.add_option('--code-cache-path',
- action='store',
- dest='code_cache_path',
- help='optparse.SUPPRESS_HELP')
-
# End dummy list.
parser.add_option('--without-ssl',
@@ -1116,7 +1111,7 @@ def configure_node(o):
o['variables']['node_no_browser_globals'] = b(options.no_browser_globals)
# TODO(refack): fix this when implementing embedded code-cache when cross-compiling.
if o['variables']['want_separate_host_toolset'] == 0:
- o['variables']['node_code_cache_path'] = 'yes'
+ o['variables']['node_code_cache'] = 'yes' # For testing
o['variables']['node_shared'] = b(options.shared)
node_module_version = getmoduleversion.get_version()
diff --git a/test/parallel/test-code-cache.js b/test/parallel/test-code-cache.js
index 626fbfb518..d01392f1ee 100644
--- a/test/parallel/test-code-cache.js
+++ b/test/parallel/test-code-cache.js
@@ -47,7 +47,7 @@ if (!process.features.cached_builtins) {
}
} else { // Native compiled
assert.strictEqual(
- process.config.variables.node_code_cache_path,
+ process.config.variables.node_code_cache,
'yes'
);