aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-01-17 08:52:03 -0500
committerKevin Wolf <kwolf@redhat.com>2023-02-17 11:22:19 +0100
commit3d2d4cc5a23229088528f9451518f12dea9a7285 (patch)
tree481e79554310a96fa420be1359d85e937d053ce7 /configure
parente022d9cab70f02f7a8fb5fd9c619f46ac877dc4e (diff)
downloadqemu-3d2d4cc5a23229088528f9451518f12dea9a7285.zip
qemu-3d2d4cc5a23229088528f9451518f12dea9a7285.tar.gz
qemu-3d2d4cc5a23229088528f9451518f12dea9a7285.tar.bz2
configure: Enable -Wthread-safety if present
This enables clang's thread safety analysis (TSA), which we'll use to statically check the block graph locking. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20221207131838.239125-9-kwolf@redhat.com> Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230117135203.3049709-4-eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 00415f0..cf6db3d 100755
--- a/configure
+++ b/configure
@@ -1184,6 +1184,7 @@ add_to warn_flags -Wendif-labels
add_to warn_flags -Wexpansion-to-defined
add_to warn_flags -Wimplicit-fallthrough=2
add_to warn_flags -Wmissing-format-attribute
+add_to warn_flags -Wthread-safety
nowarn_flags=
add_to nowarn_flags -Wno-initializer-overrides