X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/814de68e5dab04406c3369dbf3975ae9eca4615a..74d78766e81f8608556c0ca22a3804f4b5fd1a87:/toolchain/gcc/final/Makefile?ds=sidebyside diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile index 337f7ab1c..b0fe20023 100644 --- a/toolchain/gcc/final/Makefile +++ b/toolchain/gcc/final/Makefile @@ -3,12 +3,13 @@ GCC_VARIANT:=final include ../common.mk GCC_CONFIGURE += \ + --with-headers=$(TOOLCHAIN_DIR)/include \ --enable-languages=$(TARGET_LANGUAGES) \ --enable-shared \ --enable-threads \ --with-slibdir=$(TOOLCHAIN_DIR)/lib -ifneq ($(CONFIG_GCC_VERSION_4_5),) +ifneq ($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),) GCC_CONFIGURE += \ --enable-lto \ --with-libelf=$(TOPDIR)/staging_dir/host @@ -70,6 +71,7 @@ define Host/Install done; \ ); $(if $(CONFIG_EXTRA_TARGET_ARCH),$(call SetupExtraArch)) + $(SCRIPT_DIR)/patch-specs.sh "$(TOOLCHAIN_DIR)" endef $(eval $(call HostBuild))