2021-01-18 00:48:59 +01:00
|
|
|
# Don't use icecream:
|
|
|
|
PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
|
|
|
|
|
2009-08-26 17:00:38 +02:00
|
|
|
if [ "$ARCH" = "x86_64" ]; then
|
2024-01-04 21:54:16 +01:00
|
|
|
do_sse2=enabled
|
2009-08-26 17:00:38 +02:00
|
|
|
else
|
2024-01-04 21:54:16 +01:00
|
|
|
do_sse2=disabled
|
2009-08-26 17:00:38 +02:00
|
|
|
fi
|
|
|
|
|
2024-01-04 21:54:16 +01:00
|
|
|
export CFLAGS="$SLKCFLAGS"
|
|
|
|
export CXXFLAGS="$SLKCFLAGS"
|
|
|
|
mkdir meson-build
|
|
|
|
cd meson-build
|
|
|
|
meson setup \
|
2009-08-26 17:00:38 +02:00
|
|
|
--prefix=/usr \
|
2024-01-04 21:54:16 +01:00
|
|
|
--libdir=lib${LIBDIRSUFFIX} \
|
|
|
|
--libexecdir=/usr/libexec \
|
|
|
|
--bindir=/usr/bin \
|
|
|
|
--sbindir=/usr/sbin \
|
|
|
|
--includedir=/usr/include \
|
|
|
|
--datadir=/usr/share \
|
|
|
|
--mandir=/usr/man \
|
2009-08-26 17:00:38 +02:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
2024-01-04 21:54:16 +01:00
|
|
|
--buildtype=release \
|
|
|
|
-Dvmx=disabled \
|
|
|
|
-Dtests=disabled \
|
|
|
|
-Dsse2=$do_sse2 \
|
|
|
|
.. || exit 1
|