configure: Disable thread-safety warnings on macOS

The enablement of -Wthread-safety broke compilation on macOS (if
-Werror is enabled, like in our CI). Disable it there by default
until the problems are resolved.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20230301113425.286946-1-thuth@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Thomas Huth 2023-03-01 12:34:25 +01:00 committed by Peter Maydell
parent c15d9e2311
commit 2946e1af27

5
configure vendored
View file

@ -1230,7 +1230,10 @@ 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
if test "$targetos" != "darwin"; then
add_to warn_flags -Wthread-safety
fi
nowarn_flags=
add_to nowarn_flags -Wno-initializer-overrides