Remove now obsolete GLIBC version check

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2023-10-21 19:05:45 +02:00
parent 8bcd1d4c54
commit ca7836bf71
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -1860,15 +1860,6 @@ get_binary_name() {
local machine local machine
machine=$(uname -m) machine=$(uname -m)
# Get local GLIBC version (leave at "0.0" if no GLIBC, e.g., on musl)
local l_glibc_version="0.0"
if ldd --version 2>&1 | grep -q "GLIBC"; then
l_glibc_version=$(ldd --version | head -n1 | grep -o '[0-9.]*$')
printf "%b %b Detected GLIBC version %s\\n" "${OVER}" "${TICK}" "${l_glibc_version}"
else
printf "%b %b No GLIBC detected\\n" "${OVER}" "${CROSS}"
fi
local l_binary local l_binary
local str="Detecting processor" local str="Detecting processor"