Chromium Code Reviews| Index: build/standalone.gypi |
| diff --git a/build/standalone.gypi b/build/standalone.gypi |
| index 5c31fb5d272733e239bb56ee4984e640b9f77c38..66892ed7340c79083161791ce6f6e070c053417e 100644 |
| --- a/build/standalone.gypi |
| +++ b/build/standalone.gypi |
| @@ -325,7 +325,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"', { |
| @@ -372,7 +372,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' ], |
| @@ -523,8 +523,9 @@ |
| ['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': 'c++11', # -std=c++11 |
| + 'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++ |
|
jamesr
2015/03/04 18:52:37
We support OS X 10.6 which doesn't support C++11,
Nico
2015/03/04 18:57:56
Yes, this won't work in a chromium build. (standal
dcarney
2015/03/04 19:40:24
okay, good to know. I was just trying to get the
|
| + }, |
| }], |
| ], |
| 'target_conditions': [ |