|
|
@@ -17,7 +17,7 @@ ifndef CONFIG_USE_GLIBC
|
|
|
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),)
|
|
|
@@ -39,7 +39,6 @@ define Host/Configure
|
|
|
$(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
|
|
|
@@ -54,10 +53,7 @@ endif
|
|
|
|
|
|
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
|
|
|
@@ -75,11 +71,7 @@ endef
|
|
|
|
|
|
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); \
|