I'm using a custom gcc toolchain to cross-compile for a linux device.  It 
doesn't support "-rdynamic".  I've put in a bug so that when I set the compiler 
and it does try_compile, it doesn't die on those that don't support 
"-rdynamic", but in the meantime I need to remove it from the link_flags.  I 
see plenty of ways to add link flags, but not to remove them.  I don't even see 
it in the variables:

-- CMAKE_C_LINK_FLAGS.............
-- CMAKE_SHARED_LIBRARY_C_FLAGS...-fPIC

How does one remove "-rdynamic" from the link flags?

--
Shane
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to