Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first if it exists.

* Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first
	if it exists.

From-SVN: r218334
This commit is contained in:
Ulrich Drepper 2014-12-03 21:10:14 +00:00 committed by Ulrich Drepper
parent 4c278134e8
commit 380abb4206
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-12-03 Ulrich Drepper <drepper@gmail.com>
* Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first
if it exists.
2014-12-03 Jakub Jelinek <jakub@redhat.com>
* expmed.c (expand_mult): Use std::swap.

View File

@ -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.