Remove meson warning about mingw and lto

Because msys2 ucrt64 mingw seems to do lto just fine.
This commit is contained in:
Tamás Bálint Misius 2024-01-13 22:51:32 +01:00
parent d21c23b46e
commit 66a09ababd
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -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' ]