diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-02-16 12:01:36 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-02-17 18:06:52 +0200 |
commit | 6c1467db272c4700ae79f74c3541f6ccc4814138 (patch) | |
tree | 4602952f770ad183039983aae59ac99791f175a1 /mesonbuild/compilers/vala.py | |
parent | 867963f1315023673abbe3cc823eb6d332ed8f86 (diff) | |
download | meson-6c1467db272c4700ae79f74c3541f6ccc4814138.zip meson-6c1467db272c4700ae79f74c3541f6ccc4814138.tar.gz meson-6c1467db272c4700ae79f74c3541f6ccc4814138.tar.bz2 |
compilers: Only insert -flto-jobs in clang's link arguments
Clang has a hand `-Wunused-command-line-argument` switch, which when
turned to an error, gets very grump about `-flto-jobs=0` being set in
the compiler arguments (although `-flto=` belongs there). We'll refactor
a bit to put that only in the link arguments.
GCC doesn't have this probably because, a) it doesn't have an equivalent
warning, and b) it uses `-flto=<$numthreads.
Fixes: #8347
Diffstat (limited to 'mesonbuild/compilers/vala.py')
0 files changed, 0 insertions, 0 deletions