[S-mailx] Problem building s-nail: error: 'su_ERR_OVERFLOW' undeclared

2022-02-01 Thread Ross Burton
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

Re: [S-mailx] Problem building s-nail: error: 'su_ERR_OVERFLOW' undeclared

2022-02-01 Thread Ross Burton
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

[S-mailx] Doesn't parallel build

2022-02-01 Thread Ross Burton
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