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.pull/5700/head
parent
32c57ca782
commit
7eb1d89095
2 changed files with 15 additions and 5 deletions
Loading…
Reference in new issue