Mark Galeck pacbell.net> writes:
>
> All right, after all I will have to modify Make source code.
> David's idea is very good... for recursive Make systems.
> Unfortunately in practice, a system like does not just have Make calls
itself recursively, that would be
> too simple :)
> It has
On Thu, 2015-10-15 at 04:15 +, Mark Galeck wrote:
> Paul gave me the hack, unfortunately, it is for 4.1, when I tried to
> do the similar thing for 3.81, it did not work.
The code in 3.81 is very different. Offhand it looks like you need to
edit job.c around line 2339, and change this:
/*
It may still be possible to work around these issues via e.g. the environment.
MAKEFLAGS='SHELL=//bin/sh’ make
This does two things:
1. By putting the setting in the environment it may survive through
intermediate scripts (I thought make did this internally anyway but am
not positive).
2. The ex
That is great, thank you very much David! Yes this seems to work so far :) In
fact I don't have to use //bin/sh . I can just do ahead of time
export MAKEFLAGS='SHELL='
From: David Boyce
It may still be possible to work around these issues via e.g. the environment.
MAKEFLAGS='SHEL
>Yes this seems to work so far :) In fact I don't have to use //bin/sh . I
>can just do ahead of time
export MAKEFLAGS='SHELL='
Until of course, some sub-makefile decided to change MAKEFLAGS internally...
overriding the environment
___
Help-make ma
It's great Paul- thank you! Except, when I do your modification and compile
Make, it then segfaults :)
As my first boss, who was Hawaiian, would say "Auwe!".
Well it looks like I will have to find out why it segfaults...
or maybe try and avoid the "goto" and hope that maybe then the compi