GCC (I think since about 4.7) provides wrappers for ar, nm and ranlib with a "gcc-" name prefix (e.g. gcc-ar-4.7).

I created a topic to pick these up for CMAKE_AR, CMAKE_RANLIB and CMAKE_NM per default if used with GCC.

These wrappers pass the --plugin option to the actual tools which is required for link time optimization (LTO).

I haven't merged it to "next" yet since I am not sure if this might break anything in existing setups.
Does anyone else have any insight or suggestions?

Nils
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to