commit 80ae97f2b875493c5714d00ae5c2a13efbd6e017
Author: Daniel Kolesa <daniel@octaforge.org>
Date:   Sun Jan 23 21:06:47 2022 +0100

    fix musl miscompilation
    
    https://github.com/void-linux/void-packages/issues/2598

diff --git a/js/src/old-configure.in b/js/src/old-configure.in
index 77652f67..ab5e917b 100644
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1069,7 +1069,7 @@ if test "$ac_cv_thread_keyword" = yes; then
     mips*-*)
       :
       ;;
-    *-android*|*-linuxandroid*)
+    *-android*|*-linuxandroid*|*-musl*)
       :
       ;;
     *)
