aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-09-08 10:20:08 +0000
committerpsykose <alice@ayaya.dev>2022-09-08 13:00:59 +0200
commit9f2edae2fe5c2c4a283f024a02b7e03d314b66fa (patch)
tree1aa5a7d5565b1c59bf899a4c1f87064448b9ef26
parent1d42823280e7fc113697a92869512b42aeffb1b7 (diff)
downloadaports-9f2edae2fe5c2c4a283f024a02b7e03d314b66fa.tar.gz
aports-9f2edae2fe5c2c4a283f024a02b7e03d314b66fa.tar.bz2
aports-9f2edae2fe5c2c4a283f024a02b7e03d314b66fa.tar.xz
main/wayland: build with lto
-rw-r--r--main/wayland/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/wayland/APKBUILD b/main/wayland/APKBUILD
index 3e5c437d49..41a762a455 100644
--- a/main/wayland/APKBUILD
+++ b/main/wayland/APKBUILD
@@ -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
}