Subject: Re: openpam build breaks on sgimips
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 01/31/2008 00:21:49
In article <080131015525.M0122618@mirage.ceres.dti.ne.jp>,
Izumi Tsutsui  <tsutsui@ceres.dti.ne.jp> wrote:
>rafal@pobox.com wrote:
>
>> Ugh, that (ab)use of __PIC__ is pretty gross.  It seems the right way to
>> do this is to have the Makefile explicitly signal the build type (shared
>> vs. static)... I think that's what it did before the upgrade, no?
>
>NO_STATIC_MODULES in CSHLIBFLAGS (in src/lib/libpam/Makefile.inc)
>is enough for us, but it's a third party source..

I guess we should remove __PIC__, but why does mips define __PIC__ when
we don't have -fpic or -fPIC on the command line? Other pic-by-default
archs don't do this...

christos