aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/configure.in.in3
-rw-r--r--config/libc/glibc.in9
2 files changed, 12 insertions, 0 deletions
diff --git a/config/configure.in.in b/config/configure.in.in
index c67fd35f..fe232ef3 100644
--- a/config/configure.in.in
+++ b/config/configure.in.in
@@ -30,6 +30,9 @@ config CONFIGURE_has_make_3_81_or_newer
config CONFIGURE_has_make_4_0_or_newer
@KCONFIG_make_4_0_or_newer@
+config CONFIGURE_has_make_4_4_or_newer
+ @KCONFIG_make_4_4_or_newer@
+
config CONFIGURE_has_libtool_2_4_or_newer
@KCONFIG_libtool_2_4_or_newer@
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index c5de44ce..81261cdc 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -64,6 +64,15 @@ config GLIBC_DEP_MAKE_4_0
select COMP_TOOLS_MAKE
select MAKE_GNUMAKE_SYMLINK # Override old host make in .build/tools/bin
+# Glibc versions older than 2.31 have a bug that triggers with GNU make 4.4 or newer
+# where the build process hangs indefinitely
+config GLIBC_DEP_MAKE_4_3
+ def_bool y
+ depends on GLIBC_older_than_2_32 && CONFIGURE_has_make_4_4_or_newer
+ select COMP_TOOLS_MAKE
+ select MAKE_GNUMAKE_SYMLINK
+ select MAKE_REQUIRE_older_than_4_4
+
# Glibc 2.31 removed support for pre-v8 SPARC in 32-bit mode (64-bit mode always
# required UltraSPARC)
config GLIBC_SPARC_ALLOW_V7