1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-21 16:42:35 +00:00

Fixed comment in linux-compiler.mk

This commit is contained in:
Frank Halasz
2026-03-18 01:15:21 -07:00
parent 6c20a5c635
commit 54c81a3762

View File

@@ -8,7 +8,7 @@ ifeq ($(USE_LIBBSD),T)
# Use LIBBSD - but only if glibc < 2.38
# Because we only need strlcat, strlcpy and friends from libbsd
# and they are included in glibc from 2.38 on.
GLIBC_VERSION := $(shell ldd --version | head -1 | sed -e "s/^.* \([0-9]\.[0-9]\+\)/\\1/")
GLIBC_VERSION := $(shell getconf GNU_LIBC_VERSION | sed 's/glibc //')
GLIBC_CHECK := $(shell echo "$(GLIBC_VERSION) >= 2.38" | bc)
ifneq ($(GLIBC_CHECK),1)
include linux-libbsd.mk