mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
meson: actually check for -Wframe-larger-than
All other warning flags are checked for compiler support, so we shouldn't blindly assume this one always exists. Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
a0e5aca072
commit
36489081b0
@ -499,10 +499,12 @@ if cc.has_argument('-Wsuggest-attribute=format')
|
||||
endif
|
||||
|
||||
# used in tests
|
||||
cc_flags_relaxed_frame_limit = [
|
||||
cc_flags_relaxed_frame_limit = []
|
||||
if cc.has_argument('-Wframe-larger-than=262144')
|
||||
cc_flags_relaxed_frame_limit += [
|
||||
'-Wframe-larger-than=262144',
|
||||
]
|
||||
|
||||
]
|
||||
endif
|
||||
|
||||
# various linker checks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user