Previously, if sdksyms.sh was failing, the incorrect sdksyms.c would stay, breaking subsequent build attempts.
Signed-off-by: Mihail Konev <k....@ya.ru> --- Needed this on Solaris due to missing awk -> gawk symlink. hw/xfree86/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am index 85bd0bed0e58..96f88cb72f66 100644 --- a/hw/xfree86/Makefile.am +++ b/hw/xfree86/Makefile.am @@ -137,7 +137,14 @@ CLEANFILES = sdksyms.c sdksyms.dep Xorg.sh EXTRA_DIST += sdksyms.sh sdksyms.dep sdksyms.c: sdksyms.sh - $(AM_V_GEN)CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $(srcdir)/sdksyms.sh $(top_srcdir) $(CFLAGS) $(AM_CFLAGS) $(AM_CPPFLAGS) + $(AM_V_GEN)CPP='$(CPP)' AWK='$(AWK)' \ + $(SHELL) $(srcdir)/sdksyms.sh \ + $(top_srcdir) \ + $(CFLAGS) \ + $(AM_CFLAGS) \ + $(AM_CPPFLAGS) \ + && exit 0 ; \ + rm sdksyms.dep sdksyms.c 2>/dev/null ; exit 1 SDKSYMS_DEP = sdksyms.dep -include $(SDKSYMS_DEP) -- 2.9.2 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel