浏览代码

revert 20646 rev (gcc-cc_links-fix.diff), it's broken for arm as mentioned in 1764 issue

Ivan Kuten 17 年之前
父节点
当前提交
0062430ad5
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      toolchain/gcc/gcc-uclibc-3.x.mk
  2. 2 2
      toolchain/gcc/gcc-uclibc-4.x.mk

+ 2 - 2
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)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \
+		ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

+ 2 - 2
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)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \
+		ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \