PKGNAME="ouch"
PKGDES="A command line (de)compression utility with support for multiple archive formats"
PKGDEP="glibc zlib bzip2 xz gcc-runtime bzip3"
BUILDDEP="rustc llvm"
PKGSEC="util"

USECLANG=1
ABTYPE=rust
CARGO_AFTER__I486=('--target=i486-unknown-linux-gnu')

# FIXME: Build error before appending `-Clink-arg=-lc++ -Clink-arg=-lc++abi`.
# cargo:warning=vendor/unrar/os.hpp:12:10: fatal error: 'new' file not found                                  
# cargo:warning=   12 | #include <new>                                                                        
# cargo:warning=      |          ^~~~~
FAIL_ARCH="loongson3"
