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

David Miller davem at davemloft.net
Sat Apr 17 00:46:41 PDT 2010


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.

> 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.


More information about the dolt mailing list