Re: [S-mailx] Doesn't parallel build

2022-02-01 Thread Steffen Nurpmeso
Hello again. Ross Burton wrote in : |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. (Answered in the other thread on this, too.) --steffen | |Der

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

2022-02-01 Thread Steffen Nurpmeso
Ross Burton wrote in : |On Tue, 1 Feb 2022 at 14:53, Ross Burton wrote: |> |> When I cross-compile s-nail I get a slew of errors: ... |OK, found it. | |My CC has options, as our compiler *needs* a --sysroot argument and we |pass that via CC to ensure that it is always used. | |However,

[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
OK, found it. My CC has options, as our compiler *needs* a --sysroot argument and we pass that via CC to ensure that it is always used. However, su-make-errors.sh does "${CC}" which means the shell tries to find a binary called 'gcc --sysroot=/foo', which doesn't exist. The loop has done set

[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