citadel/meta-gnome/recipes-support/mozjs/files/fix-musl-build.patch

26 lines
745 B
Diff
Raw Normal View History

From 3f1b8cef1ba7132d3ffdcf884d799be110eb0636 Mon Sep 17 00:00:00 2001
From: OpenEmbedded <oe.patch@oe>
Date: Thu, 22 Sep 2022 23:20:43 +0000
Subject: [PATCH] Upstream: No Reason: mozjs60 miscompiles on musl if built
with HAVE_THREAD_TLS_KEYWORD:
https://github.com/void-linux/void-packages/issues/2598
---
js/src/old-configure.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/js/src/old-configure.in b/js/src/old-configure.in
index 8dfd75c63d..c82e580428 100644
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -839,6 +839,9 @@ if test "$ac_cv_thread_keyword" = yes; then
*-android*|*-linuxandroid*)
:
;;
+ *-musl*)
+ :
+ ;;
*)
AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
;;