From 733950789f45cbfb2a8ca7587841b8eb1d9309ba Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 9 Sep 2021 22:11:57 +0300 Subject: mesa: cleanup build, use cl-meson --- extra/mesa/build | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'extra') diff --git a/extra/mesa/build b/extra/mesa/build index 742c980f..26d29fcb 100755 --- a/extra/mesa/build +++ b/extra/mesa/build @@ -21,20 +21,14 @@ 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 "/pre_args += '-DUSE_ELF_TLS'/d" meson.build >_ -cat _ > meson.build; rm -f _ +clsed "/pre_args += '-DUSE_ELF_TLS'/d" meson.build python3 bin/git_sha1_gen.py --output include/git_sha1.h platforms=x11 -cpt l wayland-protocols >/dev/null 2>&1 && platforms=$platforms,wayland - -meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --buildtype=release \ +cpt l -q wayland-protocols && platforms=$platforms,wayland + +cl-meson \ -Dplatforms="$platforms" \ -Dzstd=false \ . output -- cgit v1.2.3