commit:     d2afb26b47b91dc4bac48d5d2c749e74c4382dce
Author:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 07:48:49 2019 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 07:48:49 2019 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=d2afb26b

media-libs/mesa: fix tls issue in 19.1.1

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>

 media-libs/mesa/mesa-19.1.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-libs/mesa/mesa-19.1.1.ebuild 
b/media-libs/mesa/mesa-19.1.1.ebuild
index b492bda..759f4d0 100644
--- a/media-libs/mesa/mesa-19.1.1.ebuild
+++ b/media-libs/mesa/mesa-19.1.1.ebuild
@@ -459,6 +459,11 @@ multilib_src_configure() {
                emesonargs+=( $(meson_use pax_kernel glx-read-only-text) )
        fi
 
+       # Disable glx tls support on musl
+       if use elibc_musl; then
+               emesonargs+=( -Dglx-tls=false )
+       fi
+
        # on abi_x86_32 hardened we need to have asm disable
        if [[ ${ABI} == x86* ]] && use pic; then
                emesonargs+=( -Dasm=false )

Reply via email to