mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-25 08:40:10 -07:00
22 lines
530 B
Bash
Executable File
22 lines
530 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export DESTDIR="$1"
|
|
export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS -fcommon"
|
|
|
|
# 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
|