From b39fec83e7d9058cd68d323d808ddbab436d4887 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Thu, 18 Jun 2009 10:38:04 +0000 Subject: Add -fno-threadsafe-statics to the Linux build. We already depend on our static initializers being thread safe, since MSVC does not implement locking around static initialization. This avoids extra locking (__cxa_guard_acquire / __cxa_guard_release). Review URL: http://codereview.chromium.org/126267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18700 0039d316-1c4b-4281-b951-d872f2087c98 --- build/common.gypi | 1 + 1 file changed, 1 insertion(+) (limited to 'build') diff --git a/build/common.gypi b/build/common.gypi index f7ec8c2..202900e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -350,6 +350,7 @@ 'cflags': [ '-m32', '-fno-exceptions', + '-fno-threadsafe-statics', '-Wall', ], 'ldflags': [ -- cgit v1.1