Follow-up Comment #4, bug #38420 (project make):

The only option I can think of is using $(shell ...) to determine the real
path rather than the built-in realpath function.  This will be slower, but
more reliable (as far as I'm aware all the EINTR issues with shell have long
since been solved).

Maybe something like: $(shell cd $(dir $<) && pwd)

Or, if you don't really need the full power of realpath you could switch to
abspath.  That is just a string manipulation function so it doesn't do any
system calls that might be interrupted with EINTR.

It really depends on your situation.  But there's no way I know of to fix the
problem with realpath, without a code change.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38420>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to