1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-15 03:33:52 +02:00

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:
Jo-Philipp Wich 2012-01-18 03:15:22 +00:00
parent 6df3af8a36
commit 64dc82eab0

View File

@ -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))