diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index d2bb31e..55649a7 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -7,6 +7,10 @@ pkgdesc="A reactive automation fabric for Linux desktops" arch=('x86_64') url="https://github.com/Breadway/bread" license=('MIT') +# mlua builds Lua from vendored C source. makepkg's default -flto=auto would +# emit GCC LTO bitcode into liblua5.4.a, which the Rust (lld) link can't read, +# leaving all lua_* symbols undefined. Disable LTO for a clean static link. +options=(!lto) depends=('glibc' 'libgit2') optdepends=( 'libnotify: desktop notifications via bread.notify()'