diff mbox

PR plugins/69758: add params.list to PLUGIN_HEADERS

Message ID 1455161386-43437-1-git-send-email-dmalcolm@redhat.com
State New
Headers show

Commit Message

David Malcolm Feb. 11, 2016, 3:29 a.m. UTC
params.h is listed in PLUGIN_HEADERS.  As of r227566 params.h
#includes params.list, but the latter is not in PLUGIN_HEADERS,
leading to compilation failure for plugins that include params.h
e.g. for gcc-python-plugin:

  In file included from gcc-cfg.c:40:0:
  /install-dogfood/lib/gcc/x86_64-pc-linux-gnu/6.0.0/plugin/include/params.h:87:23: fatal error: params.list: No such file or directory
   #include "params.list"

The following patch fixes it in the obvious way, by adding
params.list to PLUGIN_HEADERS so that it gets installed.

Successfully bootstrapped&regrtested on x86_64-pc-linux-gnu.
Verified via "make install" and then verifying the build of
the affected files in gcc-python-plugin.

OK for trunk?

gcc/ChangeLog:
	PR plugins/69758
	* Makefile.in (PLUGIN_HEADERS): Add params.list.
---
 gcc/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Bernd Schmidt Feb. 11, 2016, 3:26 a.m. UTC | #1
On 02/11/2016 04:29 AM, David Malcolm wrote:
> gcc/ChangeLog:
> 	PR plugins/69758
> 	* Makefile.in (PLUGIN_HEADERS): Add params.list.

Ok.


Bernd
diff mbox

Patch

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index aa3c018..6c15830 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3320,7 +3320,8 @@  PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
   tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
   tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \
   hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \
-  lcm.h cfgloopmanip.h builtins.def chkp-builtins.def pass-instances.def
+  lcm.h cfgloopmanip.h builtins.def chkp-builtins.def pass-instances.def \
+  params.list
 
 # generate the 'build fragment' b-header-vars
 s-header-vars: Makefile