File tree Expand file tree Collapse file tree 4 files changed +5
-29
lines changed
Expand file tree Collapse file tree 4 files changed +5
-29
lines changed Original file line number Diff line number Diff line change 8989 GRAPHITE_CONFIGURE: = --without-isl --without-cloog
9090endif
9191
92- # # sane and common defaults for different libc implementations
93- export lt_cv_prog_compiler_static_works =yes
94- export lt_cv_prog_compiler_static_works_CXX =yes
95- export lt_cv_sys_max_cmd_len =1572864
96-
97- GCC_CONFIGURE_VARS :=
98-
9992GCC_CONFIGURE: = \
10093 SHELL="$(BASH ) " \
10194 $(HOST_SOURCE_DIR ) /configure \
@@ -229,7 +222,6 @@ endif
229222
230223define Host/Configure
231224 (cd $(GCC_BUILD_DIR ) && rm -f config.cache; \
232- $(if $(strip $(GCC_CONFIGURE_VARS ) ) ,export $(GCC_CONFIGURE_VARS ) ) ; \
233225 $(GCC_CONFIGURE ) \
234226 );
235227endef
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ ifndef CONFIG_USE_GLIBC
1717endif
1818
1919ifdef CONFIG_USE_MUSL
20- GCC_CONFIGURE_VARS += gcc_cv_libc_provides_ssp=yes
20+ GCC_MAKE += gcc_cv_libc_provides_ssp=yes
2121endif
2222
2323ifneq ($(CONFIG_SJLJ_EXCEPTIONS ) ,)
@@ -39,7 +39,6 @@ define Host/Configure
3939 $(CleanupToolchain )
4040 mkdir -p $(GCC_BUILD_DIR )
4141 (cd $(GCC_BUILD_DIR ) && rm -f config.cache; \
42- $(if $(strip $(GCC_CONFIGURE_VARS ) ) ,export $(GCC_CONFIGURE_VARS ) ) ; \
4342 $(GCC_CONFIGURE ) \
4443 );
4544endef
5453
5554define Host/Compile
5655 $(FixGogccCrt )
57-
58- $(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) \
59- $(GCC_CONFIGURE_VARS ) \
60- all
56+ +$(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) all
6157endef
6258
6359define SetupExtraArch
7571
7672define Host/Install
7773 $(CleanupToolchain )
78-
79- +$(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) \
80- $(GCC_CONFIGURE_VARS ) \
81- install
82-
74+ +$(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) install
8375 # Set up the symlinks to enable lying about target name.
8476 set -e; \
8577 (cd $(TOOLCHAIN_DIR ) ; \
Original file line number Diff line number Diff line change @@ -12,15 +12,13 @@ GCC_CONFIGURE += \
1212
1313define Host/Compile
1414 +$(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) \
15- $(GCC_CONFIGURE_VARS ) \
1615 all-build-libiberty \
1716 all-gcc \
1817 all-target-libgcc
1918endef
2019
2120define Host/Install
2221 +$(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) \
23- $(GCC_CONFIGURE_VARS ) \
2422 install-gcc \
2523 install-target-libgcc
2624
Original file line number Diff line number Diff line change @@ -13,17 +13,11 @@ GCC_CONFIGURE += \
1313 --disable-threads
1414
1515define Host/Compile
16- +$(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) \
17- $(GCC_CONFIGURE_VARS ) \
18- all-gcc \
19- all-target-libgcc
16+ +$(GCC_MAKE ) $(HOST_JOBS ) -C $(GCC_BUILD_DIR ) all-gcc all-target-libgcc
2017endef
2118
2219define Host/Install
23- $(GCC_MAKE ) -C $(GCC_BUILD_DIR ) \
24- $(GCC_CONFIGURE_VARS ) \
25- install-gcc \
26- install-target-libgcc
20+ $(GCC_MAKE ) -C $(GCC_BUILD_DIR ) install-gcc install-target-libgcc
2721endef
2822
2923define Host/Clean
You can’t perform that action at this time.
0 commit comments