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:
Родитель
5c3b4b00a8
Коммит
15068482c3
|
@ -350,6 +350,7 @@
|
||||||
'cflags': [
|
'cflags': [
|
||||||
'-m32',
|
'-m32',
|
||||||
'-fno-exceptions',
|
'-fno-exceptions',
|
||||||
|
'-fno-threadsafe-statics',
|
||||||
'-Wall',
|
'-Wall',
|
||||||
],
|
],
|
||||||
'ldflags': [
|
'ldflags': [
|
||||||
|
|
Загрузка…
Ссылка в новой задаче