Skip to content

Commit 0c179a7

Browse files
committed
Fix linking failure with LTO enabled
1 parent 3a433a1 commit 0c179a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/arch/PKGBUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Hannes Körber <hannes@hkoerber.de>
22
pkgname='grm-git'
33
pkgver=0.7.15.r6.gea7299a
4-
pkgrel=1
4+
pkgrel=2
55
pkgdesc='Manage git repos, worktrees and integrate with GitHub and GitLab'
66
arch=('x86_64')
77
url='https://github.com/hakoerber/git-repo-manager'
@@ -29,8 +29,8 @@ build() {
2929
export RUSTUP_TOOLCHAIN=stable
3030
export CARGO_TARGET_DIR=target
3131
export GRM_RELEASE_VERSION="${pkgver}"
32-
# https://github.com/alexcrichton/ssh2-rs/issues/171#issue-580432290
33-
export LIBSSH2_SYS_USE_PKG_CONFIG=
32+
# https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/issues/20
33+
export CFLAGS+=' -ffat-lto-objects'
3434
cargo build --frozen --release
3535
}
3636

0 commit comments

Comments
 (0)