summaryrefslogtreecommitdiffstats
path: root/make/gcc-uclibc-2.95.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-20 17:51:43 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-20 17:51:43 +0000
commit78fe4bffde5f0feec20e2b7f9e065b48faad80f0 (patch)
treebd6727575d7422d5cac02220beb8207f9b80a72c /make/gcc-uclibc-2.95.mk
parentd9dc2a87f34b50fa682595ebe163af1ce5e03425 (diff)
downloadbuildroot-novena-78fe4bffde5f0feec20e2b7f9e065b48faad80f0.tar.gz
buildroot-novena-78fe4bffde5f0feec20e2b7f9e065b48faad80f0.zip
As noted by Joakim Tjernlund, we should force ln to overwrite
existing symlinks.
Diffstat (limited to 'make/gcc-uclibc-2.95.mk')
-rw-r--r--make/gcc-uclibc-2.95.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/gcc-uclibc-2.95.mk b/make/gcc-uclibc-2.95.mk
index c9f1b92da..5a2051292 100644
--- a/make/gcc-uclibc-2.95.mk
+++ b/make/gcc-uclibc-2.95.mk
@@ -188,10 +188,10 @@ $(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
# Set up the symlinks to enable lying about target name.
set -e; \
(cd $(STAGING_DIR); \
- ln -s $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \
+ ln -sf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \
cd bin; \
for app in $(REAL_GNU_TARGET_NAME)-* ; do \
- ln -s $${app} \
+ ln -sf $${app} \
$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
done; \
);