tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]


* On 2016-01-17 at 08:20 GMT, Ian D. Leroux wrote:

> On Sat, 16 Jan 2016 09:08:48 +0000 Jonathan Perkin <>
> wrote:
> > [...]
> > I have a patch to fix this and move to a single source of truth,
> > namely the bootstrap script.  This encodes the correct value of
> > MACHINE_ARCH directly into bmake during bootstrap based on the host
> > machine and the requested ABI, and that is then used as the single
> > source for this variable.
> Speaking as an uninformed observer: does this play nicely with the
> existing support for cross-compilation in pkgsrc?  It sounds as though
> it would break the mechanisms described in 
> unless special care was taken.

It shouldn't affect the cross compilation support, I'm only
rationalising the default setting of MACHINE_ARCH, it's still possible
to override it if necessary.

I don't have a cross build environment set up, if someone does then
I'd appreciate testing to ensure I didn't miss anything.


Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index