diff libinterp/corefcn/module.mk @ 29746:7f339da6cabd

avoid possible gcc warning about C++ one definition rule (bug #60586) * acinclude.m4 (OCTAVE_PROG_BISON): Also check whether api.prefix applies to yysymbol_kind_t in the files that bison generates. If so, substitute new variables, OCTAVE_PARSER_CPPFLAGS and OCTAVE_TEX_PARSER_CPPFLAGS. * libinterp/corefcn/module.mk (%canon_reldir%_libcorefcn_la_CPPFLAGS): Add $(OCTAVE_TEX_PARSER_CPPFLAGS) to the list. * libinterp/parse-tree/module.mk (%canon_reldir%_libparse_tree_la_CPPFLAGS): Add $(OCTAVE_PARSER_CPPFLAGS) to the list.
author John W. Eaton <jwe@octave.org>
date Tue, 08 Jun 2021 15:49:37 -0400
parents 2ae4764180c6
children f254c302bb9c
line wrap: on
line diff
--- a/libinterp/corefcn/module.mk	Mon Jun 07 22:54:48 2021 +0200
+++ b/libinterp/corefcn/module.mk	Tue Jun 08 15:49:37 2021 -0400
@@ -333,7 +333,8 @@
   $(HDF5_CPPFLAGS) \
   $(LLVM_CPPFLAGS) \
   $(SPARSE_XCPPFLAGS) \
-  $(Z_CPPFLAGS)
+  $(Z_CPPFLAGS) \
+  $(OCTAVE_TEX_PARSER_CPPFLAGS)
 
 libinterp_EXTRA_DIST += \
   %reldir%/default-defs.in.h \