mesa: minor tweaks

This commit is contained in:
Dylan Araps 2021-07-28 08:10:01 +03:00
parent aa0576cf69
commit 13fe1d7d64
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -22,13 +22,12 @@
cd -; cd ..
}
export PYTHONPATH
export CFLAGS="$CFLAGS -DGLX_X86_READONLY_TEXT"
# Fix issues with musl and firefox.
# https://bugs.freedesktop.org/show_bug.cgi?id=35268
# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/966
sed "/pre_args += '-DUSE_ELF_TLS'/d" meson.build > _
mv -f _ meson.build
@ -43,6 +42,7 @@ meson \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Dglx-read-only-text=true \
-Dplatforms=wayland \
-Dglx=disabled \
-Degl=enabled \