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
This commit is contained in:
Jakub Jelinek 2015-03-31 07:31:57 +02:00 committed by Jakub Jelinek
parent 4a37fb99ea
commit b626318e12
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2015-03-31 Jakub Jelinek <jakub@redhat.com>
PR plugins/61176
* Makefile.in (install-plugin): Add all gcc/*.{h,def} files
automatically to $headers.
2015-03-30 Jakub Jelinek <jakub@redhat.com>
PR ipa/65610

View File

@ -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 \