diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-18 03:15:22 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-18 03:15:22 +0000 |
commit | 03eb7294983edccb374b9c406a4e4fe9b9adfeed (patch) | |
tree | f77840020c0801d2aeffda43c67afa5163aaa87a /toolchain/gcc | |
parent | c9fe1a096b829afab22cdd8a248239b3597890ee (diff) | |
download | master-187ad058-03eb7294983edccb374b9c406a4e4fe9b9adfeed.tar.gz master-187ad058-03eb7294983edccb374b9c406a4e4fe9b9adfeed.tar.bz2 master-187ad058-03eb7294983edccb374b9c406a4e4fe9b9adfeed.zip |
[toolchain] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/final/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile index dc884ab9c1..dcab9094e2 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)) |