cmake: check for broken LTO
When using LTO with gcc or clang, try to compile and link something to
make sure it works, and disable it if it doesn't.
Signed-off-by:
Rafael Kitover <rkitover@gmail.com>
Please register or sign in to comment
When using LTO with gcc or clang, try to compile and link something to
make sure it works, and disable it if it doesn't.
Signed-off-by:
Rafael Kitover <rkitover@gmail.com>