Skip to content

Commit 14c987b

Browse files
targosnodejs-ci
authored andcommitted
HACK: compile with -std=gnu++1y
1 parent 30b5381 commit 14c987b

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)