From: Michael Shigorin Date: Wed, 17 Feb 2016 15:55:28 +0000 (+0300) Subject: tests: avoid using cpp -dD X-Git-Tag: v4.12~537 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f20304b6aea91e48fb41f2fb9e19bfcf05e06e6e;p=strace tests: avoid using cpp -dD -dD is less portable across some peculiar preprocessors. tests/Makefile.am (ksysent.h): Use cpp -dM instead of cpp -dD. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 2e779344..d8a9bc2a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -383,7 +383,7 @@ EXTRA_DIST = init.sh run.sh match.awk \ ksysent.h: $(srcdir)/ksysent.sed echo '#include ' | \ - $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dD - > $@.t1 + $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dM - > $@.t1 LC_COLLATE=C sed -n -f $(srcdir)/ksysent.sed < $@.t1 > $@.t2 mv -f $@.t2 $@ rm -f $@.t1