[CMake] 2.6.4: how to avoid -fPIC when cross compiling for an embedded target

Ingolf Steinbach ingolf.steinbach at googlemail.com
Tue Nov 10 11:12:48 EST 2009


2009/11/9 Ingolf Steinbach <ingolf.steinbach at googlemail.com>:
> It is still in there when using cmake-2.8.0-rc2-Linux-i386.

Sorry, I only had those rc2 pre-compiled binaries. I have now tried
again with rc6 and can confirm that -fPIC is no longer inserted in the
command line used for linking.

Kind regards
Ingolf


More information about the CMake mailing list