summaryrefslogtreecommitdiff
path: root/scno.am
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2017-05-30 22:44:47 +0000
committerDmitry V. Levin <ldv@altlinux.org>2017-05-30 22:44:47 +0000
commita25d7521ef70224dccb5eba56817047cd6053dca (patch)
treea09730a5e1756c42e44e48c49e28144cafb46cd3 /scno.am
parent0bcfa7b5cb3c837f717219be6f0d254f3c745342 (diff)
downloadstrace-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.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/scno.am b/scno.am
index 12745f12d..ee3db5974 100644
--- a/scno.am
+++ b/scno.am
@@ -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:]_]*