From 3e6b73a75a3eacd3f510e1e1e270f44b75114074 Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Wed, 24 Jul 2024 11:45:13 -0700 Subject: [PATCH] Revert "meson: disallow Venus debug + LTO build via GCC" This reverts commit 423ba5d1c7e2d2958c37ba5b6be6dafe4161b333. Part-of: --- meson.build | 6 ------ 1 file changed, 6 deletions(-) diff --git a/meson.build b/meson.build index 89254656593..bb041725a0b 100644 --- a/meson.build +++ b/meson.build @@ -2291,12 +2291,6 @@ endif # as GCC LTO drops them. See: https://bugs.freedesktop.org/show_bug.cgi?id=109391 gcc_lto_quirk = (cc.get_id() == 'gcc') ? ['-fno-lto'] : [] -# As of GCC 13.2.1, Venus build with optimization level plain/0 and LTO does not -# compile properly: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11006 -if with_virtio_vk and cc.get_id() == 'gcc' and (get_option('optimization') == '0' or get_option('optimization') == 'plain') and get_option('b_lto') == true - error('Venus does not compile properly with GCC + optimization level plain/0 + LTO.') -endif - devenv = environment() dir_compiler_nir = join_paths(meson.current_source_dir(), 'src/compiler/nir/')