smlinux/base/mozjs/fix-musl-build.patch
PktSurf 887b96a3e3 Added dmraid, iniparser, mozjs, libatasmart, libblockdev, libbytesize,
libyaml, ndctl, polkit, udisks to base and updated base build list
Fixed base/gcc-libs build file
Removed old incomplete base/rust build file
2022-02-28 09:37:31 +05:30

16 lines
434 B
Diff

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)
;;