-
Committer:
Matt Turner
-
Author(s):
Christoph Reiter
-
Date:
2019-06-10 16:42:59 UTC
-
Revision ID:
git-v1:fd5c0da57985a430912907d4a898ed1ddb854ead
meson: fix TLS support under mingw
GCC on Windows complains that "__declspec(thread)" doesn't work, but still
compiles it, so the meson check doesn't work. The warning printed by gcc:
"warning: 'thread' attribute directive ignored [-Wattributes]"
Pass -Werror=attributes to make the check fail instead.
This fixes the test suite (minus gtk tests) on Windows with mingw.