mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 10:02:17 +00:00
meson: actually use -Werror=format-security
We tested for this flag, but never added -Wformat in addition to -Werror=format-security. The latter was silently ignored and actually did nothing.
This commit is contained in:
parent
9659555d45
commit
25f5333b4a
@ -271,7 +271,7 @@ test_flags = ['-Werror=implicit-function-declaration',
|
||||
flags += cc.get_supported_arguments(test_flags)
|
||||
|
||||
if cc.has_multi_arguments('-Wformat', '-Werror=format-security')
|
||||
flags += '-Werror=format-security'
|
||||
flags += ['-Wformat', '-Werror=format-security']
|
||||
endif
|
||||
|
||||
if cc.get_id() == 'gcc'
|
||||
|
Loading…
Reference in New Issue
Block a user