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
This commit is contained in:
parent
6df3af8a36
commit
64dc82eab0
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue