OSDN Git Service

(libobjc.a): If ln fails, copy libobjc.a.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 1992 21:41:18 +0000 (21:41 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 1992 21:41:18 +0000 (21:41 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2619 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/Makefile.in

index c91fb7c..eb45ff7 100644 (file)
@@ -679,7 +679,7 @@ libobjc.a: cc1obj libgcc2.ready
          GCC_FOR_TARGET="$${thisdir1}/xgcc -B$${thisdir1}/" \
          GCC_CFLAGS="$(GCC_CFLAGS)"
        -rm -f libobjc.a
-       ln objc/libobjc.a .
+       ln objc/libobjc.a . >/dev/null 2>&1 || cp objc/libobjc.a .
        -if $(RANLIB_TEST) ; then $(RANLIB) libobjc.a; else true; fi
 
 # This is used by objc/Makefile if the user runs that directly.