aboutsummaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-03-31 07:31:57 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2015-03-31 07:31:57 +0200
commitb626318e1251117c6904dced02b0aa382e2588b0 (patch)
tree2717cfa3f5d15fc3e6addac2bc4a9b01ffb0e2bf /gcc/Makefile.in
parent4a37fb99ea05c51140e8bb66079be7b5e8aa0a60 (diff)
downloadgcc-b626318e1251117c6904dced02b0aa382e2588b0.zip
gcc-b626318e1251117c6904dced02b0aa382e2588b0.tar.gz
gcc-b626318e1251117c6904dced02b0aa382e2588b0.tar.bz2
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
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index f924fb8..4ab7405 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 \