aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-04-06 23:04:42 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-07 14:54:29 +0000
commit28f5b779a3852227b6acea530d322ec721681534 (patch)
treeb8fddd94aef58fd8aaab435a827b4c120a907f1e /gn/BUILD.gn
parent10ad80b5435a593e27c7351ae01219c0932cd34f (diff)
stop disabling threadsafe statics
Chrome's got threadsafe statics, Android too, Flutter too, and heck, we even have them on all our Windows builds. No one responded to my mail about them. Let's stop turning them off on not-Windows! Change-Id: Iadf00336aa73df3f694ac019c9d54a3f2257a3bd Reviewed-on: https://skia-review.googlesource.com/11683 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn5
1 files changed, 1 insertions, 4 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index 95fb362bea..108d104bfc 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -150,10 +150,7 @@ config("default") {
"-fPIC",
"-Werror",
]
- cflags_cc += [
- "-std=c++11",
- "-fno-threadsafe-statics",
- ]
+ cflags_cc += [ "-std=c++11" ]
# The main idea is to slim the exported API, but these flags also improve link time on Mac.
# These would make stack traces worse on Linux, so we don't just set them willy-nilly.