I'm compiling under Linux and it seems like cmake is automatically adding -rdynamic to my build. This switch is okay for debug builds and open source tools, but for closed source it is a big problem. This switch is unfortunately exposing some unwanted functions in my code, like the licensing functions. This makes the functions easily available by using objdump -T or nm -D, even if the executable has been stripped.

Is there a way to suppress the use of this switch?

--
Gonzalo Garramuño
[EMAIL PROTECTED]

AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to