mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-23 06:26:17 +00:00
22 lines
521 B
Bash
Executable File
22 lines
521 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
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 \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--buildtype=release \
|
|
-Dplatforms=x11,drm \
|
|
. output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|