Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: build/common.gypi

Issue 149607: Add -fno-threadsafe-statics to the Linux build. (Closed)
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index af0740854d010929473ecbb777bf2b27959eb02d..8b47f529b000647c86cd429d6dd8a53dc64c7a58 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',
],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698