mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
fix: disable makepkg LTO for mixed Rust and C archives
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -43,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}"
|
||||
|
||||
Reference in new issue
Block a user