Skip to content

Commit 03b8d30

Browse files
committed
Add thread-safety-beta for more coverage
1 parent 952546d commit 03b8d30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ AC_ARG_ENABLE([threadsafety],
149149
AS_IF([test "x$enable_threadsafety" = "xyes"], [
150150
AC_MSG_NOTICE([enabling thread safety static analysis, see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html])
151151
AS_CASE(["$CXX"],
152-
[clang*], [CXXFLAGS="$CXXFLAGS -Wthread-safety -Werror=thread-safety -DTHREAD_SAFETY"],
152+
[clang*], [CXXFLAGS="$CXXFLAGS -Wthread-safety -Werror=thread-safety -Wthread-safety-beta -Werror=thread-safety-beta -DTHREAD_SAFETY"],
153153
[AC_MSG_WARN([Thread safety analysis is only supported with Clang compiler, skipping])])
154154
])
155155

0 commit comments

Comments
 (0)