Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it wasn't copied.
authorChris Demetriou <cgd@google.com>
Mon, 15 Mar 2010 08:51:56 +0000 (01:51 -0700)
committerChris Demetriou <cgd@gcc.gnu.org>
Mon, 15 Mar 2010 08:51:56 +0000 (01:51 -0700)
2010-03-15  Chris Demetriou  <cgd@google.com>

        * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it
        wasn't copied.

From-SVN: r157454

gcc/ChangeLog
gcc/Makefile.in

index 866ad6dee3b67b0e953b862b3aec2e52c5bb9065..437c6061a807f258a8e5299c0c76da48fad37c54 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-15  Chris Demetriou  <cgd@google.com>
+
+       * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it
+       wasn't copied.
+
 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR middle-end/43354
index fd61169a6e2b8a00a53404430775f771c212de6a..9a9ca45b3243eb43741fa94a654d306f33395fb0 100644 (file)
@@ -3842,10 +3842,11 @@ stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
          cp $(srcdir)/ginclude/stdint-gcc.h include/stdint-gcc.h; \
          chmod a+r include/stdint-gcc.h; \
          cp $(srcdir)/ginclude/stdint-wrap.h include/stdint.h; \
+         chmod a+r include/stdint.h; \
        elif [ $(USE_GCC_STDINT) = provide ]; then \
          cp $(srcdir)/ginclude/stdint-gcc.h include/stdint.h; \
+         chmod a+r include/stdint.h; \
        fi
-       chmod a+r include/stdint.h
        set -e; for ml in `cat fixinc_list`; do \
          sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
          multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \