PKGNAME=gcc+cross-loongarch64
PKGSEC=devel
PKGDEP="binutils+cross-loongarch64"

__CROSS="loongarch64"
FAIL_ARCH="@(${__CROSS}|loongarch64_nosimd)"

PKGDES="GNU Compiler Collection (cross compiler for LoongArch 64-bit GNU/Linux targets)"

NOSTATIC=0

# Note: Sync from core-devel/gcc.
TARGET_OPTIONS="""
    --with-abi=lp64d
    --with-arch=loongarch64
    --with-tune=la464
"""
