diff --git a/packaging/arch/knock-git/PKGBUILD b/packaging/arch/knock-git/PKGBUILD index 9e514af..e2f5601 100644 --- a/packaging/arch/knock-git/PKGBUILD +++ b/packaging/arch/knock-git/PKGBUILD @@ -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') diff --git a/packaging/arch/knock/PKGBUILD b/packaging/arch/knock/PKGBUILD index 6e877b8..f52c4d3 100644 --- a/packaging/arch/knock/PKGBUILD +++ b/packaging/arch/knock/PKGBUILD @@ -10,6 +10,8 @@ depends=('webkit2gtk-4.1' 'gtk3' 'libsecret' 'hicolor-icon-theme') makedepends=('rust' 'cargo' 'nodejs' 'npm' 'git') optdepends=('kwallet: store secrets in KWallet' 'gnome-keyring: store secrets in GNOME Keyring') conflicts=('knock-bin') +# aws-lc and sqlite are C; makepkg's LTO flags produce objects the Rust linker cannot read. +options=('!lto') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('SKIP')