1 |
commit: d2afb26b47b91dc4bac48d5d2c749e74c4382dce |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 29 07:48:49 2019 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 29 07:48:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=d2afb26b |
7 |
|
8 |
media-libs/mesa: fix tls issue in 19.1.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
12 |
|
13 |
media-libs/mesa/mesa-19.1.1.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/mesa/mesa-19.1.1.ebuild b/media-libs/mesa/mesa-19.1.1.ebuild |
17 |
index b492bda..759f4d0 100644 |
18 |
--- a/media-libs/mesa/mesa-19.1.1.ebuild |
19 |
+++ b/media-libs/mesa/mesa-19.1.1.ebuild |
20 |
@@ -459,6 +459,11 @@ multilib_src_configure() { |
21 |
emesonargs+=( $(meson_use pax_kernel glx-read-only-text) ) |
22 |
fi |
23 |
|
24 |
+ # Disable glx tls support on musl |
25 |
+ if use elibc_musl; then |
26 |
+ emesonargs+=( -Dglx-tls=false ) |
27 |
+ fi |
28 |
+ |
29 |
# on abi_x86_32 hardened we need to have asm disable |
30 |
if [[ ${ABI} == x86* ]] && use pic; then |
31 |
emesonargs+=( -Dasm=false ) |