Disable LTO in PKGBUILD (vendored ring/mlua static libs vs makepkg -flto)
This commit is contained in:
parent
be81e03c45
commit
b34217d869
1 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ pkgdesc="System settings app for Bread OS"
|
|||
arch=('x86_64')
|
||||
url="https://github.com/Breadway/bos"
|
||||
license=('MIT')
|
||||
# Some Rust deps (ring/mlua) build vendored C/asm into static archives; makepkg's
|
||||
# default -flto=auto emits GCC LTO bitcode the Rust (lld) link cannot read,
|
||||
# causing undefined-symbol errors. Disable LTO.
|
||||
options=(!lto)
|
||||
depends=('gtk4' 'glib2' 'hicolor-icon-theme')
|
||||
optdepends=(
|
||||
'snapper: snapshot management view'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue