Closed jjerphan closed 3 months ago
Building shared libraries with CMake automatically turns on the fPIC flag. The only usecase where you wold need this flag is when you mix static and dynamic linked libraries, which is not what we are doing in mamba, so I don't think this is needed.
If this is really needed, it should be done per target, and the reason should be documented.
I needed it to compile libmamba's test suite on my workflow.
Naive: question are there reasons for not using PIC at the moment?