Module Name:    src
Committed By:   gdt
Date:           Mon Nov  2 00:51:18 UTC 2015

Modified Files:
        src/external/gpl3/gcc.old/dist/gcc: Makefile.in
        src/external/gpl3/gcc/dist/gcc: Makefile.in

Log Message:
Use -f with cp.

When the source tree is 444 (as should be unremarkable), cp results in
object files that are 444, which when cp'd again without -f result in
an error.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc.old/dist/gcc/Makefile.in
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/dist/gcc/Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc.old/dist/gcc/Makefile.in
diff -u src/external/gpl3/gcc.old/dist/gcc/Makefile.in:1.3 src/external/gpl3/gcc.old/dist/gcc/Makefile.in:1.4
--- src/external/gpl3/gcc.old/dist/gcc/Makefile.in:1.3	Wed Sep 23 03:39:09 2015
+++ src/external/gpl3/gcc.old/dist/gcc/Makefile.in	Mon Nov  2 00:51:18 2015
@@ -1902,10 +1902,10 @@ gcc-nm.o: gcc-nm.c $(CONFIG_H) $(SYSTEM_
 # ??? the implicit rules dont trigger if the source file has a different name
 # so copy instead
 gcc-ranlib.c: gcc-ar.c
-	cp $^ $@
+	cp -f $^ $@
 
 gcc-nm.c: gcc-ar.c
-	cp $^ $@
+	cp -f $^ $@
 
 COLLECT2_OBJS = collect2.o collect2-aix.o tlink.o vec.o ggc-none.o file-find.o
 COLLECT2_LIBS = @COLLECT2_LIBS@

Index: src/external/gpl3/gcc/dist/gcc/Makefile.in
diff -u src/external/gpl3/gcc/dist/gcc/Makefile.in:1.10 src/external/gpl3/gcc/dist/gcc/Makefile.in:1.11
--- src/external/gpl3/gcc/dist/gcc/Makefile.in:1.10	Sun Jul 13 00:16:31 2014
+++ src/external/gpl3/gcc/dist/gcc/Makefile.in	Mon Nov  2 00:51:18 2015
@@ -1902,10 +1902,10 @@ gcc-nm.o: gcc-nm.c $(CONFIG_H) $(SYSTEM_
 # ??? the implicit rules dont trigger if the source file has a different name
 # so copy instead
 gcc-ranlib.c: gcc-ar.c
-	cp $^ $@
+	cp -f $^ $@
 
 gcc-nm.c: gcc-ar.c
-	cp $^ $@
+	cp -f $^ $@
 
 COLLECT2_OBJS = collect2.o collect2-aix.o tlink.o vec.o ggc-none.o file-find.o
 COLLECT2_LIBS = @COLLECT2_LIBS@

Reply via email to