From: drepper Date: Wed, 3 Dec 2014 21:10:14 +0000 (+0000) Subject: * Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96439bf24f276c3061cac029683accb345b5540a;p=thirdparty%2Fgcc.git * Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first if it exists. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218334 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91613c837b21..fabd3909dce7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-03 Ulrich Drepper + + * Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first + if it exists. + 2014-12-03 Jakub Jelinek * expmed.c (expand_mult): Use std::swap. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 3820d0bc3c8a..43405a0c3beb 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1546,7 +1546,8 @@ MOSTLYCLEANFILES = insn-flags.h insn-config.h insn-codes.h \ # from within the *build* directory, for use when running the JIT library # from there (e.g. when running its testsuite). $(FULL_DRIVER_NAME): ./xgcc - $(LN) -s $< $@ + rm -f $@ + $(LN_S) $< $@ # # Language makefile fragments.