From 66a09ababd38127c562d43f0ce2864b65f213ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sat, 13 Jan 2024 22:51:32 +0100 Subject: [PATCH] Remove meson warning about mingw and lto Because msys2 ucrt64 mingw seems to do lto just fine. --- meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/meson.build b/meson.build index 19eeb9f71..33d3abcd1 100644 --- a/meson.build +++ b/meson.build @@ -44,9 +44,6 @@ if c_compiler.get_id() in [ 'msvc' ] host_libc = 'msvc' elif c_compiler.get_id() in [ 'gcc' ] and host_platform == 'windows' host_libc = 'mingw' - if get_option('b_lto') - warning('mingw does not like static + lto') - endif elif host_platform in [ 'darwin' ] host_libc = 'macos' elif host_platform in [ 'emscripten' ]