diff options
author | Ivan Kuten <ivan.kuten@promwad.com> | 2007-12-13 12:09:56 +0000 |
---|---|---|
committer | Ivan Kuten <ivan.kuten@promwad.com> | 2007-12-13 12:09:56 +0000 |
commit | 43cff997d71356833fd4617c74f40bdcef28c988 (patch) | |
tree | 8630572672984bdc35d31725d559c26b063400a4 /toolchain | |
parent | 977b0cc25bd98019d3d7e0675f97c6c2cbb5e389 (diff) |
fix gcc 3.x/4.x symlinks to cc
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/gcc-uclibc-3.x.mk | 4 | ||||
-rw-r--r-- | toolchain/gcc/gcc-uclibc-4.x.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index e2210d06c..341be6957 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -293,8 +293,8 @@ endif ln -snf $(REAL_GNU_TARGET_NAME)-gcc \ $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \ fi - if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \ - ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \ + if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \ + ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \ fi # Set up the symlinks to enable lying about target name. set -e; \ diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index cbf509555..9c2846bea 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -306,8 +306,8 @@ endif ln -snf $(REAL_GNU_TARGET_NAME)-gcc \ $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \ fi - if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \ - ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \ + if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \ + ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \ fi # Set up the symlinks to enable lying about target name. set -e; \ |