When building in parallel (with -j8 here)
install-gcc-ar sometimes wants to install file
before the destination directory is created.

2012-02-29  Khem Raj  <raj.k...@gmail.com>

        * Makefile.in (install-gcc-ar): Add dependency on installdirs.
---
 gcc/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index f6cf8ff..91c5794 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4811,7 +4811,7 @@ install-collect2: collect2 installdirs
 install-lto-wrapper: lto-wrapper$(exeext)
        $(INSTALL_PROGRAM) lto-wrapper$(exeext) 
$(DESTDIR)$(libexecsubdir)/lto-wrapper$(exeext)
 
-install-gcc-ar:
+install-gcc-ar: installdirs
        set -e ; \
        for i in ar nm ranlib ; do \
          install_name=`echo gcc-$$i|sed '$(program_transform_name)'`$(exeext) 
;\
-- 
1.7.9

Reply via email to