aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-11-15 07:38:33 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2021-11-15 22:00:53 +0200
commitee5428d64ffee9cbe3e66c7f2a72732ed211aaab (patch)
tree3d8fecbf17d38561de5cc07e5de127477a4c73de /mesonbuild/modules/python.py
parent5b08fd4b33cfa5a66340001da6264f8c0943c860 (diff)
downloadmeson-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