Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 5a65fa5c8ef0b6be8ec88356059659fb3455666b..d335f05e49c5ce1b6c597f387eb8c60764b889e7 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -147,8 +147,10 @@ |
'-Wall', |
'-W', |
'-Wno-unused-parameter', |
- '-pthread', '-fno-exceptions', |
+ '-pthread', |
+ '-fno-exceptions', |
'-fvisibility=hidden', |
+ '-std=gnu++0x', |
], |
'cflags_cc': [ |
'-Wnon-virtual-dtor', |
@@ -199,6 +201,7 @@ |
}, |
'xcode_settings': { |
'ALWAYS_SEARCH_USER_PATHS': 'NO', |
+ 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11', |
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks |
'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
# (Equivalent to -fPIC) |