On Fri, Aug 14 2020, Christian Weisgerber <na...@mips.inka.de> wrote: > Jeremie Courreges-Anglas: > >> > Shared libraries should be linked with -fpic/-fPIC. >> >> naddy committed a fix using -fPIC which is safe to use on all arches. >> >> (I don't know if ports should use ${PICFLAG} from bsd.own.mk when >> practical, but a few ports do it already.) > > Once upon a time, it was decided that ports should just use -fPIC > and not bother with the -fpic/-fPIC distinction.
I didn't know that, I'm glad I asked. Thanks, -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE