diff options
-rw-r--r-- | mk/platform/Linux.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 3c7a2be8807..fd383aba50b 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.82 2020/01/24 12:36:28 nia Exp $ +# $NetBSD: Linux.mk,v 1.83 2020/01/28 08:38:47 rillig Exp $ # # Variable definitions for the Linux operating system. @@ -171,7 +171,7 @@ CWRAPPERS_APPEND.ld+= -m elf_i386 . if exists(${_glibc_path}/libc.so.6) ## Use _CMD so the command only gets run when needed! _GLIBC_VERSION_CMD= ${_glibc_path}/libc.so.6 --version | \ - sed -ne's/^GNU C.*version \(.*\),.*$$/\1/p' + sed -ne's/^GNU C.*version \(.*\)[,.].*$$/\1/p' GLIBC_VERSION= ${_GLIBC_VERSION_CMD:sh} . endif .endfor |