Skip to content

Commit 4a16a5d

Browse files
targosMylesBorins
authored andcommitted
build: compile with -std=gnu++1y
It is necessary to enable more C++ features in order to build V8 6.4. PR-URL: #17489 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]>
1 parent 0398deb commit 4a16a5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
}],
294294
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
295295
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
296-
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++0x' ],
296+
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++1y' ],
297297
'ldflags': [ '-rdynamic' ],
298298
'target_conditions': [
299299
# The 1990s toolchain on SmartOS can't handle thin archives.
@@ -409,7 +409,7 @@
409409
['clang==1', {
410410
'xcode_settings': {
411411
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
412-
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x
412+
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++1y', # -std=gnu++1y
413413
'CLANG_CXX_LIBRARY': 'libc++',
414414
},
415415
}],

0 commit comments

Comments
 (0)