Browse Source

deps: cherry pick d7f813b4 from V8 upstream

Original commit message:

    GYP: Don't pass -Wno-format-pedantic to GCC.

    This flag is not understood correctly by GCC and breaks the GCC ARM and MIPS optdebug builds.

    Patch from Brendan Kirby <brendan.kirby@imgtec.com>

    BUG=

    Review URL: https://codereview.chromium.org/1369273003

    Cr-Commit-Position: refs/heads/master@{#31013}
V8-icu-patch-4.x
akos.palfi 10 years ago
committed by Myles Borins
parent
commit
1a516ea830
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 21
      deps/v8/build/standalone.gypi
  2. 2
      deps/v8/include/v8-version.h

21
deps/v8/build/standalone.gypi

@ -367,8 +367,25 @@
# things when their commandline changes). Nothing should ever read this
# define.
'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh --print-revision)'],
'cflags+': [
'-Wno-format-pedantic',
'conditions': [
['host_clang==1', {
'target_conditions': [
['_toolset=="host"', {
'cflags+': [
'-Wno-format-pedantic',
],
}],
],
}],
['clang==1', {
'target_conditions': [
['_toolset=="target"', {
'cflags+': [
'-Wno-format-pedantic',
],
}],
],
}],
],
}],
],

2
deps/v8/include/v8-version.h

@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 4
#define V8_MINOR_VERSION 5
#define V8_BUILD_NUMBER 103
#define V8_PATCH_LEVEL 50
#define V8_PATCH_LEVEL 51
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)

Loading…
Cancel
Save