[petsc-users] How do I supply the compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS

Lisandro Dalcin dalcinl at gmail.com
Tue May 28 10:01:52 CDT 2019


On Tue, 28 May 2019 at 17:31, Balay, Satish via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> Configure.log shows '--with-pic=1' - hence this error.
>
> Remove '--with-pic=1' and retry.
>
>
Nonsense. Why this behavior? Building a static library with PIC code is a
perfectly valid use case.

-- 
Lisandro Dalcin
============
Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190528/bd2c8fc0/attachment.html>


More information about the petsc-users mailing list