summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/gcc-uclibc-3.x.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-04-15 02:19:11 +0000
committerEric Andersen <andersen@codepoet.org>2005-04-15 02:19:11 +0000
commit74ad4e12c8182e70ec0eed7e029f6d70163a6a01 (patch)
tree4205d99c55e88e6fb452d98fc849e13a53351699 /toolchain/gcc/gcc-uclibc-3.x.mk
parent3f7d89fe6f2da45c2adb2f0e88e2e09b11242bb6 (diff)
downloadbuildroot-novena-74ad4e12c8182e70ec0eed7e029f6d70163a6a01.tar.gz
buildroot-novena-74ad4e12c8182e70ec0eed7e029f6d70163a6a01.zip
Change all instances of 'ln -sf' to 'ln -snf'
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-3.x.mk')
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 5aae70940..8c8329274 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -151,7 +151,7 @@ GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/lib/libc.a
mkdir -p $(GCC_BUILD_DIR2)
# Important! Required for limits.h to be fixed.
- ln -sf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
+ ln -snf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
(cd $(GCC_BUILD_DIR2); PATH=$(TARGET_PATH) \
$(GCC_DIR)/configure \
--prefix=$(STAGING_DIR) \
@@ -184,10 +184,10 @@ endif
# Set up the symlinks to enable lying about target name.
set -e; \
(cd $(STAGING_DIR); \
- ln -sf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \
+ ln -snf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \
cd bin; \
for app in $(REAL_GNU_TARGET_NAME)-* ; do \
- ln -sf $${app} \
+ ln -snf $${app} \
$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
done; \
);