From: Michal Privoznik Date: Fri, 4 Apr 2025 07:20:01 +0000 (+0200) Subject: meson: Drop workaround for -Wframe-larger-than and clang X-Git-Tag: v11.3.0-rc1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d8cbaae5717ff75df269baa7e73b022570e272;p=thirdparty%2Flibvirt.git meson: Drop workaround for -Wframe-larger-than and clang After previous cleanups, all functions have their stack smaller than 2048 bytes and thus the workaround is no longer needed. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko Reviewed-by: Roman Bogorodskiy --- diff --git a/meson.build b/meson.build index bf4a245dd3..37b1caa566 100644 --- a/meson.build +++ b/meson.build @@ -258,11 +258,6 @@ alloc_max = run_command( stack_frame_size = 2048 -# clang without optimization enlarges stack frames in certain corner cases -if cc.get_id() == 'clang' and get_option('optimization') == '0' - stack_frame_size = 4096 -endif - # sanitizer instrumentation may enlarge stack frames if get_option('b_sanitize') != 'none' stack_frame_size = 32768