PKGBUILD: disable makepkg LTO, it breaks linking the C crypto library

This commit is contained in:
2026-11-27 17:51:28 +01:00
parent f455776c63
commit c3b8849693
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -11,6 +11,8 @@ makedepends=('rust' 'cargo' 'nodejs' 'npm' 'git')
optdepends=('kwallet: store secrets in KWallet' 'gnome-keyring: store secrets in GNOME Keyring')
provides=('knock')
conflicts=('knock' 'knock-bin')
# aws-lc and sqlite are C; makepkg's LTO flags produce objects the Rust linker cannot read.
options=('!lto')
source=("knock::git+$url.git")
sha256sums=('SKIP')