From 28f5b779a3852227b6acea530d322ec721681534 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 6 Apr 2017 23:04:42 -0400 Subject: 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 Commit-Queue: Mike Klein --- gn/BUILD.gn | 5 +---- 1 file changed, 1 insertion(+), 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. -- cgit v1.2.3