diff options
author | Ulrich Drepper <drepper@gmail.com> | 2014-12-03 21:10:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@gcc.gnu.org> | 2014-12-03 21:10:14 +0000 |
commit | 380abb42063f56b3a38a787b7d14bb67bcce20b7 (patch) | |
tree | 4feb056998366b5ad1f34fba74f64040601439e6 /gcc/Makefile.in | |
parent | 4c278134e827782a06c73b5e9c72a6b724e1a58b (diff) | |
download | gcc-380abb42063f56b3a38a787b7d14bb67bcce20b7.zip gcc-380abb42063f56b3a38a787b7d14bb67bcce20b7.tar.gz gcc-380abb42063f56b3a38a787b7d14bb67bcce20b7.tar.bz2 |
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
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 3820d0b..43405a0 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. |