summaryrefslogtreecommitdiff
path: root/scripts/build/libc_eglibc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/libc_eglibc.sh')
-rw-r--r--scripts/build/libc_eglibc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc_eglibc.sh b/scripts/build/libc_eglibc.sh
index e713cb4..6b6e718 100644
--- a/scripts/build/libc_eglibc.sh
+++ b/scripts/build/libc_eglibc.sh
@@ -198,7 +198,7 @@ do_libc() {
# We don't need to be conditional on wether the user did set different
# values, as they CT_LIBC_GLIBC_EXTRA_CONFIG is passed after extra_config
- extra_config="--enable-kernel=$(echo ${CT_KERNEL_VERSION} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
+ extra_config="--enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
case "${CT_THREADS}" in
nptl) extra_config="${extra_config} --with-__thread --with-tls";;