[llvm-dev] CMake option to disable LTO?

Steve King via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 13 15:04:56 PST 2016


On Wed, Jan 13, 2016 at 11:26 AM, Mehdi Amini <mehdi.amini at apple.com> wrote:
> Are you sure LTO is enabled? What it the value of CMAKE_C_FLAG/CMAKE_CXX_FLAG in your CMakeCache.txt?

Thanks Mehdi, I think I'm mistaken about LTO.  During linking, my gcc
5.3 loads liblto_plugin.so and lto_wrapper and so on, but I don't see
the -flto option to actually enable it.  Must be something else
clogging my build.


More information about the llvm-dev mailing list