Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index e1da05053f5bb9025b0f16734ba1ee88186b40c1..44220a3bfd8e6834542231d2935c397cf4060681 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -227,6 +227,7 @@ |
'cflags_cc': [ |
'-std=c++11', |
'-fno-rtti', |
+ '-fno-threadsafe-statics', |
'-Wnon-virtual-dtor', |
], |
'conditions': [ |
@@ -492,6 +493,9 @@ |
}], |
], |
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', |
+ 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
+ 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
+ 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics |
'GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS': 'YES', # -mssse3 |
'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # -fvisibility=hidden |
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO', # -fvisibility-inlines-hidden |