diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-05-30 22:44:47 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2017-05-30 22:44:47 +0000 |
commit | a25d7521ef70224dccb5eba56817047cd6053dca (patch) | |
tree | a09730a5e1756c42e44e48c49e28144cafb46cd3 /scno.am | |
parent | 0bcfa7b5cb3c837f717219be6f0d254f3c745342 (diff) | |
download | strace-a25d7521ef70224dccb5eba56817047cd6053dca.tar.gz |
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>
Diffstat (limited to 'scno.am')
-rw-r--r-- | scno.am | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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:]_]* |