Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 4d06ffcc14221ea1fd4f85941b15a4fc8e127458..2a511b59558d82695fbb8ffd4144ecb93b4420a9 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -202,6 +202,7 @@ |
], |
'cflags_cc': [ |
'-fno-rtti', |
+ '-fno-threadsafe-statics', # Chrome disables this, so for safety we should too. |
'-Wnon-virtual-dtor', |
'-Wno-invalid-offsetof', # GCC <4.6 is old-school strict about what is POD. |
], |