diff options
author | Stefan Dirsch <sndirsch@suse.de> | 2015-09-09 23:44:06 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-10-07 10:29:31 -0700 |
commit | 93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d (patch) | |
tree | 9492252327b4b3d22081fc5b89c9c1906621797f /man/Makefile.am | |
parent | 0f904e33d53b0102e53685184bb59005be40fcf7 (diff) |
Pass -P to the preprocessor when generating filenames for the manpage.
Fixes build with GCC 5. Patch by Richard Biener <rguenther@suse.com>
Tested-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'man/Makefile.am')
-rw-r--r-- | man/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 665ace5..2e5f146 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -9,7 +9,7 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) filenames.sed: filenames.sed.c - $(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_V_GEN)$(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \ $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' > $@ |