1
0
Fork 0

use proper build flags so our V8 is built using c++11; as in 721730ebf8c3a342f62c8861a1f36ae5d1301e10

This commit is contained in:
Willi Goesgens 2015-06-18 17:45:19 +02:00
parent 7489bdec07
commit d4f2f920bc
1 changed files with 3 additions and 3 deletions

View File

@ -338,7 +338,7 @@
# Don't warn about the "struct foo f = {0};" initialization pattern.
'-Wno-missing-field-initializers',
],
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ],
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++11' ],
'ldflags': [ '-pthread', ],
'conditions': [
[ 'host_arch=="ppc64" and OS!="aix"', {
@ -365,7 +365,7 @@
# Don't warn about the "struct foo f = {0};" initialization pattern.
'-Wno-missing-field-initializers',
],
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ],
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++11' ],
'conditions': [
[ 'visibility=="hidden"', {
'cflags': [ '-fvisibility=hidden' ],
@ -516,7 +516,7 @@
['clang==1', {
'xcode_settings': {
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11', # -std=gnu++11
},
}],
],