浏览代码

invoke patch-specs.sh in the gcc/final install stage. Patch up OpenWrts own cross toolchains to always search headers and libraries in $STAGING_DIR, this should solve most issues with missing headers, indirect linking and not found libraries. At a later stage, all -I and -L flags will be purged from TARGET_LDFLAGS and TARGET_CPPFLAGS.

SVN-Revision: 29768
Jo-Philipp Wich 13 年之前
父节点
当前提交
64dc82eab0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      toolchain/gcc/final/Makefile

+ 1 - 0
toolchain/gcc/final/Makefile

@@ -70,6 +70,7 @@ define Host/Install
 		done; \
 	);
 	$(if $(CONFIG_EXTRA_TARGET_ARCH),$(call SetupExtraArch))
+	$(SCRIPT_DIR)/patch-specs.sh "$(TOOLCHAIN_DIR)"
 endef
 
 $(eval $(call HostBuild))