summaryrefslogtreecommitdiff
path: root/deps/v8/src/d8.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/d8.gyp')
-rw-r--r--deps/v8/src/d8.gyp7
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/v8/src/d8.gyp b/deps/v8/src/d8.gyp
index 097abc046..0e51baaac 100644
--- a/deps/v8/src/d8.gyp
+++ b/deps/v8/src/d8.gyp
@@ -32,6 +32,7 @@
# Enable support for Intel VTune. Supported on ia32/x64 only
'v8_enable_vtunejit%': 0,
'v8_enable_i18n_support%': 1,
+ 'v8_toolset_for_d8%': 'target',
},
'includes': ['../build/toolchain.gypi', '../build/features.gypi'],
'targets': [
@@ -49,6 +50,9 @@
'd8.cc',
],
'conditions': [
+ [ 'want_separate_host_toolset==1', {
+ 'toolsets': [ '<(v8_toolset_for_d8)', ],
+ }],
[ 'console=="readline"', {
'libraries': [ '-lreadline', ],
'sources': [ 'd8-readline.cc' ],
@@ -66,7 +70,8 @@
],
}],
['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \
- or OS=="openbsd" or OS=="solaris" or OS=="android")', {
+ or OS=="openbsd" or OS=="solaris" or OS=="android" \
+ or OS=="qnx")', {
'sources': [ 'd8-posix.cc', ]
}],
[ 'OS=="win"', {