scno.am: include config.h before syscallent.h

This fixes generation of syscallent.i and subsequent scno.h files
on mips where syscallent.h checks macros defined in config.h.

* scno.am (syscallent.i): Add $(top_builddir)/config.h
to prerequisites, include it.
* NEWS: Mention this fix.

Reported-by: David Robins <dbrobins@i4031.net>
This commit is contained in:
Дмитрий Левин 2017-05-30 22:44:47 +00:00
parent 0bcfa7b5cb
commit a25d7521ef
2 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -8,6 +8,7 @@ Noteworthy changes in release ?.?? (????-??-??)
* When traced command is terminated by a blocked signal, strace unblocks
that signal to ensure its own termination with the same signal.
* Fixed corner cases in decoding of old sigaction syscall.
* Fixed build with old kernel headers on mips.
Noteworthy changes in release 4.17 (2017-05-24)
===============================================

View File

@ -28,8 +28,8 @@
SCNO_CPPFLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(ARCH_MFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
syscallent.i: $(top_srcdir)/$(OS)/$(ARCH)/syscallent.h
$(CPP) -P $(SCNO_CPPFLAGS) $^ -o $@
syscallent.i: $(top_builddir)/config.h $(top_srcdir)/$(OS)/$(ARCH)/syscallent.h
$(CPP) -P $(SCNO_CPPFLAGS) -include $^ -o $@
digits = [[:digit:]][[:digit:]]*
al_nums = [[:alnum:]_][[:alnum:]_]*