How do I remove rdynamic from link options?
I've determined that a certain library I am using is not working properly because CMake is appending -rdynamic
to the c++
compiler options for my node's object file. In other words, if I copy and paste the /usr/bin/c++
command generated when using VERBOSE=true catkin_make
, and I run that command manually, the node works correctly only if I remove the -rdynamic
flag.
How can I edit CMakeLists.txt
to remove the -rdynamic
flag, and will this cause ROS to break in unexpected ways?