From 4f3475131cee7df1294948aa9239eb2d45f3307d Mon Sep 17 00:00:00 2001 From: bytedream Date: Sun, 21 Apr 2024 13:19:54 +0200 Subject: [PATCH] Disable LTO in source aur pkgbuild --- .github/scripts/PKGBUILD.source | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/PKGBUILD.source b/.github/scripts/PKGBUILD.source index af6b8e1..4430f95 100644 --- a/.github/scripts/PKGBUILD.source +++ b/.github/scripts/PKGBUILD.source @@ -12,6 +12,8 @@ depends=('ffmpeg' 'openssl') makedepends=('cargo') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crunchy-labs/crunchy-cli/archive/refs/tags/v${pkgver}.tar.gz") sha256sums=('$CI_SHA_SUM') +# lto causes linking errors when executed by this buildscript. besides, lto is already done by cargo itself (which doesn't cause linking errors) +options=(!lto) build() { cd "$srcdir/${pkgname}-$pkgver"