When I cross-compile s-nail I get a slew of errors:
s-nail-14.9.23/src/mx/accmacvar.c:515:25: error: 'su_ERR_OVERFLOW'
undeclared (first use in this function); did you mean
'su_STATE_ERR_OVERFLOW'?
s-nail-14.9.23/src/mx/accmacvar.c:522:25: error: 'su_ERR_NOENT'
undeclared (first use in this
one set -e, so the error is silently absorbed.
The easy fix appears to be to simply remove the quotes around ${CC},
as they serve no purpose apart from breaking builds where CC has
arguments.
Ross
On Tue, 1 Feb 2022 at 14:53, Ross Burton wrote:
>
> When I cross-compile s-nail I get a slew
Hi,
An observation. This command isn't parallelised:
$ make -j build
This is because it immediately re-calls $(MAKE) in OBJDIR, but doesn't
pass $(MAKEFLAGS) so the -j is lost.
Ross