Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compilers: pass -Werror to the linker with b_lto
With LTO, the linker will re-execute the compiler and various warnings may be emitted. We must therefore pass -Werror to the linker as well when -Werror is enabled to capture these. This is only required / useful with LTO. Closes: mesonbuild#7360 Signed-off-by: Sam James <sam@gentoo.org>
- Loading branch information