mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
gnulib: Disable -Wfloat-conversion by default
gnulib doesn’t work with it, and if we try and enable it then mingw versions of `signbit()` start causing problems. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3405
This commit is contained in:
parent
692a50b78e
commit
4d31fe6b7d
@ -1,7 +1,10 @@
|
||||
# glib enables -Werror=format-nonliteral by default, but the embedded gnulib
|
||||
# needs to handle user provided format strings.
|
||||
extra_gnulib_args = cc.get_supported_arguments([
|
||||
'-Wno-format-nonliteral', '-Wno-duplicated-branches'])
|
||||
'-Wno-format-nonliteral',
|
||||
'-Wno-float-conversion',
|
||||
'-Wno-duplicated-branches',
|
||||
])
|
||||
|
||||
if host_system == 'windows' and cc.get_id() == 'clang'
|
||||
extra_gnulib_args += cc.get_supported_arguments([
|
||||
|
Loading…
Reference in New Issue
Block a user