aboutsummaryrefslogtreecommitdiffstats
path: root/main/mozjs60/fix-musl-build.patch
blob: af394673990eac4651938e40675c46541a1912f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Upstream: No
Reason: mozjs60 miscompiles on musl if built with HAVE_THREAD_TLS_KEYWORD:
https://github.com/void-linux/void-packages/issues/2598
diff --git a/js/src/old-configure.in b/js/src/old-configure.in
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1272,6 +1272,9 @@
     *-android*|*-linuxandroid*)
       :
       ;;
+    *-musl*)
+      :
+      ;;
     *)
       AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
       ;;