[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: please drop whatever you're doing and add -fPIC to all your rockspecs.
- From: Florian Weimer <fw@...>
- Date: Sat, 27 Feb 2010 21:57:28 +0100
* Jeff Pohlmeyer:
> On Sat, Feb 27, 2010 at 1:58 PM, Hisham wrote:
>
>> Does anyone have anything against LuaRocks adding -fPIC to CFLAGS on
>> every architecture?
>
>
> I have no idea about any of this stuff, but I did find this page:
>
> http://lua-users.org/wiki/BuildingModules
>
> It says:
>
> "Avoid -fPIC since it comes with a big performance penalty on some
> RISC architectures (Sparc in particular)."
It's confusing -fpic and -fPIC, and -fpic doesn't really work anymore
on SPARC (8K is tiny).