Skip to content

Commit b259fd3

Browse files
akos.palfiMylesBorins
akos.palfi
authored andcommitted
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 <[email protected]> BUG= Review URL: https://codereview.chromium.org/1369273003 Cr-Commit-Position: refs/heads/master@{#31013} PR-URL: #15562 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Steven R Loomis <[email protected]>
1 parent 85800c4 commit b259fd3

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

deps/v8/build/standalone.gypi

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,25 @@
367367
# things when their commandline changes). Nothing should ever read this
368368
# define.
369369
'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh --print-revision)'],
370-
'cflags+': [
371-
'-Wno-format-pedantic',
370+
'conditions': [
371+
['host_clang==1', {
372+
'target_conditions': [
373+
['_toolset=="host"', {
374+
'cflags+': [
375+
'-Wno-format-pedantic',
376+
],
377+
}],
378+
],
379+
}],
380+
['clang==1', {
381+
'target_conditions': [
382+
['_toolset=="target"', {
383+
'cflags+': [
384+
'-Wno-format-pedantic',
385+
],
386+
}],
387+
],
388+
}],
372389
],
373390
}],
374391
],

deps/v8/include/v8-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 4
1212
#define V8_MINOR_VERSION 5
1313
#define V8_BUILD_NUMBER 103
14-
#define V8_PATCH_LEVEL 50
14+
#define V8_PATCH_LEVEL 51
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

0 commit comments

Comments
 (0)