Viktor Dukhovni:
> On Wed, Feb 04, 2015 at 01:12:16PM -0500, Wietse Venema wrote:
>
> > Very lighty-tested patch follows. No INSTALL documentation until
> > this has been tested.
> >
> > Usage: $ make makefiles pie=yes ...
>
> Works on NETBSD6, with:
>
> pie=yes shared=yes dynamicmaps=yes
> pie=yes shared=no dynamicmaps=no
>
> I also tested with a variant patch which uses "-fPIE" rather than
> "-fPIC" to compile the object files when shared=no, because these
> all end up in executables, rather than shared libraries. Rumour
> has it that's the "more correct" thing to do in that case. This
> also worked on NETBSD6. Slightly modified patch below (note the
> " $CCARGS " to also match leading or trailing -fPI[CE])
Good. I fixed one latent problem:
> case $shared in
< case "$shared" in
Wietse