Skip to content

Commit 9d3b0a4

Browse files
Enable thread safety annotations in clang/libc++ (flutter#128)
1 parent 06e2d5a commit 9d3b0a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/config/clang/BUILD.gn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ config("extra_warnings") {
1414
"-Wstring-conversion",
1515
"-Wthread-safety",
1616
]
17+
18+
defines = [ "_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS" ]
1719
}

0 commit comments

Comments
 (0)