[PATCH] dolt: Add sparc*-*-linux to "-fPIC" cases.

Josh Triplett josh at joshtriplett.org
Sat Apr 17 00:59:40 PDT 2010


On Sat, Apr 17, 2010 at 12:46:41AM -0700, David Miller wrote:
> From: Josh Triplett <josh at joshtriplett.org>
> Date: Fri, 16 Apr 2010 21:59:52 -0700
> 
> > Shouldn't this say sparc*-*-linux* to handle hosts like *-linux-gnu?
> 
> Yes, that would be better.

OK, fix pushed.

> > Also, do you happen to know if this conditional could just become
> > *-*-linux*?  I tried to write it as carefully as possible to err on the
> > side of caution, and I don't want to handle a platform incorrectly, but
> > if all Linux platforms will always use -fPIC and nothing else for shared
> > libraries then I could just make that change once rather than once for
> > every new platform.
> 
> I think -fPIC is pervasive for shared libraries on *-*-linux*, yes.

Do you think I could *safely* get away with having dolt assume it knows
how to handle *any* *-*-linux* system, then?

- Josh Triplett


More information about the dolt mailing list