mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 08:12:06 +01:00
main/wayland: build with lto
This commit is contained in:
parent
1d42823280
commit
9f2edae2fe
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user