PKGNAME="atuin"
PKGDES="A databse-driven shell history manager with inter-device synchronization"
PKGDEP="glibc gcc-runtime"
BUILDDEP="llvm rustc"
PKGSEC="utils"

USECLANG=1

ABSPLITDBG=0

CARGO_AFTER="--no-default-features \
             --features client,sync,server,clipboard"

# ld.lld does not support loongarch64 and loongson3
USECLANG__LOONGARCH64=0
NOLTO__LOONGARCH64=1
USECLANG__LOONGSON3=0
NOLTO__LOONGSON3=1

USECLANG__RISCV64=0
NOLTO__RISCV64=1
