diff options
Diffstat (limited to 'sysdeps/generic/Makefile')
-rw-r--r-- | sysdeps/generic/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile index 665d1cc53e..5e1032a054 100644 --- a/sysdeps/generic/Makefile +++ b/sysdeps/generic/Makefile @@ -53,9 +53,10 @@ $(objpfx)siglist.c: $(objpfx)make_siglist mv $@-tmp $@ $(objpfx)make_siglist: $(sysdep_dir)/generic/make_siglist.c + signum_h=`cd $(dir $(firstword $(wildcard \ + $(+sysdep_dirs:%=%/signum.h)))); pwd`/signum.h; \ $(native-compile) \ - -DSIGNUM_H=\"`cd $(dir $(firstword $(wildcard \ - $(+sysdep_dirs:%=%/signum.h)))); pwd`/signum.h\" + -DSIGNUM_H=\"$${signum_h}\" generated := $(generated) make_siglist siglist.c endif |