[syslinux] is syslinux parallel make safe?

H. Peter Anvin hpa at zytor.com
Sat Sep 6 20:36:23 PDT 2008


Ferenc Wagner wrote:
> Hi,
> 
> I don't know whether parallel make compatibility is sth you care for,
> but I feel like the gcc_ok target may ruin it.  And that would be easy
> to fix by reintroducing the mktemp call like for example
> 
> gcc_ok   = $(shell tmpf=$$(mktemp -t gcc_ok.XXXXXX); \
> [...]
> 
> It just occured to me.

I don't see why gcc_ok should break parallel builds (in fact, I parallel 
build with it all the time.)  The $$$$ in the gcc_ok target gets 
replaced with the PID of the shell process, which should be unique.

	-hpa





More information about the Syslinux mailing list