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

__CROSS="loongson3"
FAIL_ARCH="${__CROSS}"

PKGDES="GNU Compiler Collection (cross compiler for MIPS-based Loongson 3 GNU/Linux targets)"

NOSTATIC=0

# Note: Sync from core-devel/gcc.
TARGET_OPTIONS="""
    --with-abi=64
    --with-arch=gs464
    --with-tune=gs464e
    --with-mips-fix-loongson3-llsc
"""
