https://bugs.kde.org/show_bug.cgi?id=382083

--- Comment #1 from Paul Floyd <pjfl...@wanadoo.fr> ---
This diff seems to be more portable

diff --git a/configure.ac b/configure.ac
index b83787291..93b57504c 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1085,7 +1085,7 @@ fi
 # GLIBC_VERSION is empty if a musl libc is used, so use the toolchain tuple
 # in this case.
 if test x$GLIBC_VERSION = x; then
-    if $CC -dumpmachine | grep -q musl; then
+    if $CC -v 2>&1 | grep -q musl; then
         GLIBC_VERSION=musl
     fi
 fi

(The proposed modification does not work on Alpine Linux, presumably because
the shell doesn't support csh redirection syntax.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to