On Monday 02 July 2012 13:37:53 Richard Yao wrote:
> On 07/02/2012 10:54 AM, Alexis Ballier wrote:
> > hu? yes, as already pointed out, uname is not reliable when
> > cross-compiling. You should use CHOST, and then you get tc-arch-kernel.
> > See freebsd-lib ebuild for how it is handled.
> 
> In that case, it should be 'local arch=$(tc-arch-kernel)'. Using
> tc-arch-kernel by itself causes problems when building on Linux, because
> x86 can be passed, which FreeBSD's build system does not understand.

the function specifically handles freebsd in this case.  why isn't that code 
sufficient ?

> Also, this function is not meant for cross compilation.

then it doesn't really belong in the tree.  native builds are just a special 
case of cross-compiling.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to