Browse Source

build: fix up build after v8 upgrade

* Define and disable new flag `v8_use_external_startup_data`.

* Disable v8_postmortem_support, it's broken again.  Fedor (@indutny)
  has volunteered to fix it up in the near future.

PR-URL: https://github.com/iojs/io.js/pull/243
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
v1.8.0-commit
Ben Noordhuis 10 years ago
parent
commit
8a83ebaede
  1. 9
      common.gypi

9
common.gypi

@ -20,14 +20,17 @@
# Enable disassembler for `--print-code` v8 options # Enable disassembler for `--print-code` v8 options
'v8_enable_disassembler': 1, 'v8_enable_disassembler': 1,
# Enable V8's post-mortem debugging only on unix flavors. # Don't bake anything extra into the snapshot.
'v8_use_external_startup_data%': 0,
# Disable V8's post-mortem debugging; frequently broken and hardly used.
'v8_postmortem_support%': 'false',
'conditions': [ 'conditions': [
['OS == "win"', { ['OS == "win"', {
'os_posix': 0, 'os_posix': 0,
'v8_postmortem_support': 'false'
}, { }, {
'os_posix': 1, 'os_posix': 1,
'v8_postmortem_support': 'true'
}], }],
['GENERATOR == "ninja" or OS== "mac"', { ['GENERATOR == "ninja" or OS== "mac"', {
'OBJ_DIR': '<(PRODUCT_DIR)/obj', 'OBJ_DIR': '<(PRODUCT_DIR)/obj',

Loading…
Cancel
Save