mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:29:40 +01:00
PKGBUILD: disable makepkg LTO, it breaks linking the C crypto library
This commit is contained in:
@@ -11,6 +11,8 @@ makedepends=('rust' 'cargo' 'nodejs' 'npm' 'git')
|
|||||||
optdepends=('kwallet: store secrets in KWallet' 'gnome-keyring: store secrets in GNOME Keyring')
|
optdepends=('kwallet: store secrets in KWallet' 'gnome-keyring: store secrets in GNOME Keyring')
|
||||||
provides=('knock')
|
provides=('knock')
|
||||||
conflicts=('knock' 'knock-bin')
|
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")
|
source=("knock::git+$url.git")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ depends=('webkit2gtk-4.1' 'gtk3' 'libsecret' 'hicolor-icon-theme')
|
|||||||
makedepends=('rust' 'cargo' 'nodejs' 'npm' 'git')
|
makedepends=('rust' 'cargo' 'nodejs' 'npm' 'git')
|
||||||
optdepends=('kwallet: store secrets in KWallet' 'gnome-keyring: store secrets in GNOME Keyring')
|
optdepends=('kwallet: store secrets in KWallet' 'gnome-keyring: store secrets in GNOME Keyring')
|
||||||
conflicts=('knock-bin')
|
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")
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user