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: http://src.chromium.org/svn/trunk/src/build@18700 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
deanm@chromium.org 2009-06-18 10:38:04 +00:00
Родитель 5c3b4b00a8
Коммит 15068482c3
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -350,6 +350,7 @@
'cflags': [
'-m32',
'-fno-exceptions',
'-fno-threadsafe-statics',
'-Wall',
],
'ldflags': [