diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-11-15 07:38:33 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-11-15 22:00:53 +0200 |
commit | ee5428d64ffee9cbe3e66c7f2a72732ed211aaab (patch) | |
tree | 3d8fecbf17d38561de5cc07e5de127477a4c73de /mesonbuild/modules/python.py | |
parent | 5b08fd4b33cfa5a66340001da6264f8c0943c860 (diff) | |
download | meson-ee5428d64ffee9cbe3e66c7f2a72732ed211aaab.zip meson-ee5428d64ffee9cbe3e66c7f2a72732ed211aaab.tar.gz meson-ee5428d64ffee9cbe3e66c7f2a72732ed211aaab.tar.bz2 |
only pass clang LTO arguments when they are needed
If the LTO threads == 0 clang will default to the same argument we
manually pass, which meant we dropped support for admittedly ancient
versions of clang that didn't yet add that option.
Drop the extraneous argument, and add a specific error condition when
too old versions of clang are detected.
Fixes #9569
Diffstat (limited to 'mesonbuild/modules/python.py')
0 files changed, 0 insertions, 0 deletions