X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ef9765bcc6d2803291be14e7eb3892127f07cb3f..5f964e1153b5b6ea98f99a7f9b3595e184669e07:/toolchain/gcc/Makefile diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index d784a6084..d9e34af0b 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -33,7 +33,7 @@ BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN) include $(INCLUDE_DIR)/host-build.mk -STAMP_BUILT:=$(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed +STAMP_BUILT:=$(STAGING_DIR)/stamp/.gcc-initial_installed BUILD_DIR1:=$(BUILD_DIR_HOST)/gcc-$(PKG_VERSION)-initial BUILD_DIR2:=$(BUILD_DIR_HOST)/gcc-$(PKG_VERSION)-final @@ -60,6 +60,7 @@ define Stage1/Configure --disable-nls \ --disable-libmudflap \ --disable-multilib \ + $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ ); endef define Stage1/Compile @@ -90,7 +91,8 @@ define Stage2/Configure --with-gnu-ld \ --disable-nls \ --disable-libmudflap \ - --disable-mutlitlib \ + --disable-multilib \ + $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ ); endef