[PATCH] Build libxf86config with -fPIC.

Dan Nicholson dbn.lists at gmail.com
Wed Nov 24 17:42:09 PST 2010


On Wed, Nov 24, 2010 at 3:23 PM, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
>> From: Gaetan Nadon <memsize at videotron.ca>
>> Date: Tue, 23 Nov 2010 09:34:29 -0500
>>
>> So far no one has claimed adding fPic is the correct way of creating a
>> shared lib or
>> that it is a necessary workaround to a situation libtool cannot handle
>> and that it will
>> work on all supported platforms.
>
> There certainly are platforms where -fPIC isn't the right choice.

True, but libtool knows about these platforms and allows the user to
control it's usage with --with-pic. Seems better than blindly adding
-fPIC to the CFLAGS.

--
Dan


More information about the xorg-devel mailing list