[CMake] CMake 2.8.10 + older GCC + -flto
Gregory Peele ARA/VHD
gpeele at ara.com
Fri Dec 14 12:01:59 EST 2012
Hi all,
I recently upgraded to CMake 2.8.10. I'm seeing failures in try/compile (notably in CHECK_INCLUDE_FILES called from FindThreads.cmake) where it is automatically applying -flto to the compile line even though my target compiler (GCC 4.1.3) most certainly doesn't support it and my own flags don't include it. What changed? Is there a way to suppress it?
Thanks,
Gregory Peele, Jr.
Staff Software Engineer
Virtual Heroes - Orlando
Applied Research Associates, Inc.
+1 (407) 823-9121 x 840013
More information about the CMake
mailing list