From 35bd0b8b841ec0b81ee07afcffb94a5a779a8c8a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 16 Nov 2015 01:12:18 +0000 Subject: [PATCH] mpers: forward mpers_DEFS to mpers.sh mpers_DEFS has to be forwarded to mpers.sh so that config.h would be properly included by defs.h at preprocessor stage. * Makefile.am (mpers-m%.stamp): Add the whole $(mpers_sh_opts) set of options to mpers.sh's CPPFLAGS. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ab312646..8070ba3e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -684,7 +684,7 @@ libmpers_CPPFLAGS = $(AM_CPPFLAGS) -DIN_MPERS mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h for f in $^; do \ CC="$(CC)" CFLAGS="$(mpers_sh_opts)" \ - CPP="$(CPP)" CPPFLAGS="$(mpers_CPPFLAGS) $(mpers_INCLUDES) -DIN_MPERS -DMPERS_IS_$(mpers_NAME)" \ + CPP="$(CPP)" CPPFLAGS="$(mpers_sh_opts) -DIN_MPERS -DMPERS_IS_$(mpers_NAME)" \ $(srcdir)/mpers.sh -$(mpers_NAME) $$f || exit; \ done > $@ -- 2.40.0