From b626318e1251117c6904dced02b0aa382e2588b0 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 31 Mar 2015 07:31:57 +0200 Subject: [PATCH] re PR plugins/61176 (plugin builds including gimple.h not building) PR plugins/61176 * Makefile.in (install-plugin): Add all gcc/*.{h,def} files automatically to $headers. From-SVN: r221786 --- gcc/ChangeLog | 6 ++++++ gcc/Makefile.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 242eb507579..23213eeb515 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-03-31 Jakub Jelinek + + PR plugins/61176 + * Makefile.in (install-plugin): Add all gcc/*.{h,def} files + automatically to $headers. + 2015-03-30 Jakub Jelinek PR ipa/65610 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f924fb86f09..4ab7405fb79 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3255,7 +3255,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype # We keep the directory structure for files in config or c-family and .def # files. All other files are flattened to a single directory. $(mkinstalldirs) $(DESTDIR)$(plugin_includedir) - headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \ + headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \ for file in $$headers; do \ if [ -f $$file ] ; then \ -- 2.30.2