[cmake-developers] patch that adds -KPIC flag to SunPro Fortran compiler

Steven Vancoillie steven.vancoillie at teokem.lu.se
Fri Mar 20 04:23:13 EDT 2015


Hi,

I ran into a problem with SunPro Fortran compiler not being able to
create a shared library since the -KPIC flag was missing. The patch
that is attached fixes this. I didn't add a -KPIE as that doesn't
exist for SunPro.

Looking at other compiler configurations, it seems it might be better
to have a SunPro.cmake module that combines flags that are independent
of the language?

greetings,
Steven

-- 
Steven Vancoillie
Theoretical Chemistry
Lund University
P.O.B 124
S-221 00 Lund
Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-position-independent-code-flag-for-SunPro-Fortra.patch
Type: text/x-diff
Size: 900 bytes
Desc: 0001-Add-position-independent-code-flag-for-SunPro-Fortra.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150320/e8792937/attachment.patch>


More information about the cmake-developers mailing list