aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-21 08:48:48 +0000
committeralice <alice@ayaya.dev>2022-08-21 09:43:25 +0000
commitb876385a4e156f2dc75a787cc41eeb2dbf379f2e (patch)
treed36a39ba0c726f87427fe0d10d8e9c65711a9bb3
parent38fc40aa335f2d58e9af009e9c017c1fa07bd938 (diff)
downloadaports-b876385a4e156f2dc75a787cc41eeb2dbf379f2e.tar.gz
aports-b876385a4e156f2dc75a787cc41eeb2dbf379f2e.tar.bz2
aports-b876385a4e156f2dc75a787cc41eeb2dbf379f2e.tar.xz
main/glu: add lto
~ -25% in size
-rw-r--r--main/glu/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/glu/APKBUILD b/main/glu/APKBUILD
index f76bb5ec5b..36899a041e 100644
--- a/main/glu/APKBUILD
+++ b/main/glu/APKBUILD
@@ -1,22 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glu
pkgver=9.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="Mesa OpenGL Utility library"
url="https://cgit.freedesktop.org/mesa/glu/"
arch="all"
options="!check" # No test suite.
license="SGI-B-1.1 AND SGI-B-2.0"
depends_dev="mesa-dev"
-makedepends="$depends_dev cmake meson"
+makedepends="$depends_dev meson"
replaces="mesa-glu"
subpackages="$pkgname-dev"
source="https://mesa.freedesktop.org/archive/glu/glu-$pkgver.tar.xz"
build() {
abuild-meson \
- -D default_library=shared \
- -D gl_provider=osmesa \
+ -Db_lto=true \
+ -Ddefault_library=shared \
+ -Dgl_provider=osmesa \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}