[cmake-developers] Adding logic to CMake for -fPIE and -fPIC
Stephen Kelly
steveire at gmail.com
Wed May 30 06:20:07 EDT 2012
Brad King wrote:
> On 05/29/2012 12:16 PM, Stephen Kelly wrote:
>> Done, though I left some notes in the commit for now. It seems the
>> existing variable is used for more than just PIC equivalents.
>
> Thanks for going through all the platforms!
>
> I think the only non-PIC instances are for Watcom and Embarcadero
> where options "-bd" and "-tD", respectively, tell the compiler that
> the object file is intended for inclusion in a DLL, and for SCO
> where -belf is required for shared libraries. Did you notice any
> others?
RISCos.cmake and ULTRIX.cmake contains '-G 0' and HP-UX-HP.cmake contains
+Z. I don't know what they are really for.
I've also pushed again.
Thanks,
Steve.
More information about the cmake-developers
mailing list