main/wayland: build with lto

This commit is contained in:
psykose 2022-09-08 10:20:08 +00:00
parent 1d42823280
commit 9f2edae2fe
No known key found for this signature in database

View File

@ -3,7 +3,7 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=wayland
pkgver=1.21.0
pkgrel=0
pkgrel=1
pkgdesc="A computer display server protocol"
url="https://wayland.freedesktop.org"
arch="all"
@ -19,6 +19,7 @@ source="https://gitlab.freedesktop.org/wayland/wayland/-/releases/$pkgver/downlo
build() {
abuild-meson \
-Db_lto=true \
-Ddocumentation=false \
. output
@ -26,6 +27,7 @@ build() {
}
check() {
XDG_RUNTIME_DIR="$(mktemp -d)" \
meson test --no-rebuild --print-errorlogs -C output
}