Subject: PIC code in XFree
To: None <tech-x11@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: tech-x11
Date: 05/10/2005 12:15:03
Can someone explain to me why the native (i.e. xsrc) build of a loadable XFree
server does this?

 - it creates a ${file}.o with -fPIC option
 - it creates a unshared/${file}.o without any PIC options
 - it creates a module/${file}.o without any PIC options

IMHO it should add -DPIC in the first step and use both pic options for
modules too - or am I missing something?

Martin