summaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index a3a412e3a7..1a0819e741 100755
--- a/configure.py
+++ b/configure.py
@@ -1051,7 +1051,9 @@ def configure_node(o):
o['variables']['debug_nghttp2'] = 'false'
o['variables']['node_no_browser_globals'] = b(options.no_browser_globals)
- o['variables']['node_code_cache_path'] = 'yes'
+ # 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_shared'] = b(options.shared)
node_module_version = getmoduleversion.get_version()