aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-10-18 09:15:48 -0700
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-07-23 09:58:24 +0000
commit7eb1d89095054286391565a23c6a4d27465dd617 (patch)
tree9fa2b9bf1231eef0ddd8587bad2b6dfc6a853afb /mesonbuild/backend/ninjabackend.py
parent32c57ca7822fcba084afed8268789552b7ef11c3 (diff)
downloadmeson-7eb1d89095054286391565a23c6a4d27465dd617.zip
meson-7eb1d89095054286391565a23c6a4d27465dd617.tar.gz
meson-7eb1d89095054286391565a23c6a4d27465dd617.tar.bz2
compilers: Move lto args into compiler class
There are two problems, one is that it assumes -flto is the argument to do LTO/WPO, which isn't true of ICC and MSVC (and presumably) others. It's also incorrect because it assumes that the compiler and linker will always be the same, which isn't necessarily true. You could combine GCC with Apple's linker, or clang with link.exe, which use different arguments.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
0 files changed, 0 insertions, 0 deletions