Merge pull request #695 from yuezk/fix/aur-srcinfo

fix: build AUR native dependencies without makepkg LTO
This commit is contained in:
Kevin Yue authored and GitHub committed 2026-11-06 01:28:07 +08:00
commit 16e08c09af
2 files changed
+4 -1

No files matched your search

@@ -30,6 +30,7 @@ pkgbase = globalprotect-openconnect-git
depends = gnutls
depends = libp11-kit
depends = nettle
depends = libhogweed.so
depends = gmp
depends = shared-mime-info
depends = desktop-file-utils
@@ -42,6 +43,7 @@ pkgbase = globalprotect-openconnect-git
provides = gpgui
conflicts = globalprotect-openconnect
options = !strip
options = !lto
source = globalprotect-openconnect::git+https://github.com/yuezk/GlobalProtect-openconnect.git#branch=main
sha256sums = SKIP
@@ -22,7 +22,8 @@ source=("${_pkgname_prefix}::git+https://github.com/yuezk/GlobalProtect-openconn
sha256sums=("SKIP")
options=('!strip')
# GCC LTO objects from native dependencies cannot be linked by Rust's LLD.
options=('!strip' '!lto')
pkgver() {
cd "${_pkgname_prefix}"