summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index af07408..8b47f52 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -334,6 +334,9 @@
'-fno-exceptions',
'-Wall',
],
+ 'cflags_cc': [
+ '-fno-threadsafe-statics',
+ ],
}, { # else: target_arch != "arm"
'asflags': [
# Needed so that libs with .s files (e.g. libicudata.a)
@@ -379,6 +382,9 @@
'-fno-exceptions',
'-Wall',
],
+ 'cflags_cc': [
+ '-fno-threadsafe-statics',
+ ],
'ldflags': [
'-m32',
],