diff options
| author | Sam James <sam@gentoo.org> | 2024-01-18 07:03:17 +0000 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-01-18 02:19:26 -0500 |
| commit | 85cfc1fafcda047fa497d1d6219a8c742523b5a6 (patch) | |
| tree | 2825dd41b8b0d17151de2091844c2103a5db653c /docs/markdown | |
| parent | 92f638e1f9a9306a4296631cbc8f97c253e6ba88 (diff) | |
| download | meson-85cfc1fafcda047fa497d1d6219a8c742523b5a6.tar.gz | |
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: https://github.com/mesonbuild/meson/issues/7360
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Diffstat (limited to 'docs/markdown')
0 files changed, 0 insertions, 0 deletions
