GRAPHITE_CONFIGURE:= --without-isl --without-cloog
endif
-## sane and common defaults for different libc implementations
-export lt_cv_prog_compiler_static_works=yes
-export lt_cv_prog_compiler_static_works_CXX=yes
-export lt_cv_sys_max_cmd_len=1572864
-
-GCC_CONFIGURE_VARS :=
-
GCC_CONFIGURE:= \
SHELL="$(BASH)" \
$(HOST_SOURCE_DIR)/configure \
define Host/Configure
(cd $(GCC_BUILD_DIR) && rm -f config.cache; \
- $(if $(strip $(GCC_CONFIGURE_VARS)),export $(GCC_CONFIGURE_VARS)); \
$(GCC_CONFIGURE) \
);
endef
endif
ifdef CONFIG_USE_MUSL
- GCC_CONFIGURE_VARS += gcc_cv_libc_provides_ssp=yes
+ GCC_MAKE += gcc_cv_libc_provides_ssp=yes
endif
ifneq ($(CONFIG_SJLJ_EXCEPTIONS),)
$(CleanupToolchain)
mkdir -p $(GCC_BUILD_DIR)
(cd $(GCC_BUILD_DIR) && rm -f config.cache; \
- $(if $(strip $(GCC_CONFIGURE_VARS)),export $(GCC_CONFIGURE_VARS)); \
$(GCC_CONFIGURE) \
);
endef
define Host/Compile
$(FixGogccCrt)
-
- $(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \
- $(GCC_CONFIGURE_VARS) \
- all
+ +$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) all
endef
define SetupExtraArch
define Host/Install
$(CleanupToolchain)
-
- +$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \
- $(GCC_CONFIGURE_VARS) \
- install
-
+ +$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) install
# Set up the symlinks to enable lying about target name.
set -e; \
(cd $(TOOLCHAIN_DIR); \
define Host/Compile
+$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \
- $(GCC_CONFIGURE_VARS) \
all-build-libiberty \
all-gcc \
all-target-libgcc
define Host/Install
+$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \
- $(GCC_CONFIGURE_VARS) \
install-gcc \
install-target-libgcc
--disable-threads
define Host/Compile
- +$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \
- $(GCC_CONFIGURE_VARS) \
- all-gcc \
- all-target-libgcc
+ +$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) all-gcc all-target-libgcc
endef
define Host/Install
- $(GCC_MAKE) -C $(GCC_BUILD_DIR) \
- $(GCC_CONFIGURE_VARS) \
- install-gcc \
- install-target-libgcc
+ $(GCC_MAKE) -C $(GCC_BUILD_DIR) install-gcc install-target-libgcc
endef
define Host/Clean