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

Alexander Neundorf a.neundorf-work at gmx.net
Fri Nov 6 12:51:01 EST 2009


On Friday 06 November 2009, Ingolf Steinbach wrote:
> Hi,
>
> how can I avoid having -fPIC in the set of flags used during *linking*
> when using a GCC based cross compiler? I use the following contents

Can you check whether that's still the case with the current 2.8.0 RC ?
I think something was changed there regarding fPIC.

Alex


More information about the CMake mailing list