aboutsummaryrefslogtreecommitdiff
path: root/xorg/mesa/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/mesa/build')
-rwxr-xr-xxorg/mesa/build5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg/mesa/build b/xorg/mesa/build
index 8441ca95..9a7f79bd 100755
--- a/xorg/mesa/build
+++ b/xorg/mesa/build
@@ -3,6 +3,11 @@
export DESTDIR="$1"
export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
+# Fix issues with musl and firefox.
+# https://bugs.freedesktop.org/show_bug.cgi?id=35268
+# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
+sed -i "/pre_args += '-DUSE_ELF_TLS'/d" meson.build
+
meson \
--prefix=/usr \
--sysconfdir=/etc \