From 64dc82eab0b2963698042f250eca44fcb3bba4f0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 18 Jan 2012 03:15:22 +0000 Subject: 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 --- toolchain/gcc/final/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain/gcc/final') diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile index dc884ab..dcab909 100644 --- a/toolchain/gcc/final/Makefile +++ b/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)) -- cgit v1.1