macros: Add thread-safety annotation macros

Extracted from !7529

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9061>
This commit is contained in:
Kristian Høgsberg
2021-02-12 12:26:47 -08:00
committed by Marge Bot
parent 1cef1a34bb
commit 0d5fe24c9b
2 changed files with 33 additions and 0 deletions

View File

@@ -1040,6 +1040,7 @@ else
'-Werror=incompatible-pointer-types',
'-Werror=int-conversion',
'-Wimplicit-fallthrough',
'-Werror=thread-safety',
'-Wno-missing-field-initializers',
'-Wno-format-truncation',
'-fno-math-errno',