tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fixing MACHINE_ARCH
On Mon, Jan 18, 2016, at 15:46, Jonathan Perkin wrote:
> * On 2016-01-17 at 08:20 GMT, Ian D. Leroux wrote:
>
> > On Sat, 16 Jan 2016 09:08:48 +0000 Jonathan Perkin
> > <jperkin%joyent.com@localhost> 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
> >
> > https://www.netbsd.org/gallery/presentations/riastradh/asiabsdcon2015/pkgsrc-cross-paper.pdf
> >
> > 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'd missed the distinction between default and final value. Thank you
for the clarification.
-- IDL
Home |
Main Index |
Thread Index |
Old Index