[arch-commits] Commit in appstream-generator/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Mar 27 20:02:40 UTC 2022
Date: Sunday, March 27, 2022 @ 20:02:40
Author: arojas
Revision: 1177234
Restore LTO
Modified:
appstream-generator/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-27 19:38:24 UTC (rev 1177233)
+++ PKGBUILD 2022-03-27 20:02:40 UTC (rev 1177234)
@@ -9,7 +9,7 @@
license=(GPL3)
depends=(appstream libarchive librsvg optipng glibd lmdb)
makedepends=(ldc meson ninja mustache-d curl gir-to-d gobject-introspection docbook-xsl)
-options=(debug !lto)
+options=(debug)
source=(https://github.com/ximion/appstream-generator/archive/v$pkgver/$pkgname-$pkgver.tar.gz
stack-size.diff)
sha256sums=('0e8432549e55b653ebd971421aac208956ec8e197dc23c5533a6c1932f125793'
@@ -24,8 +24,9 @@
}
build() {
+ export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto/--flto=full/')"
arch-meson $pkgname-$pkgver build -D download-js=false
- meson compile -C build -v
+ meson compile -C build
}
package() {
More information about the arch-commits
mailing list