Profile File: make.defaults

In Profile: arch/riscv/rv64gc/lp64

Content

# Copyright 2019-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# RISC-V rv64gc/lp64 no-multilib profile

CHOST="riscv64-unknown-linux-gnu"

MULTILIB_ABIS="lp64"
DEFAULT_ABI="lp64"
ABI="lp64"

LIBDIR_lp64="lib64"

CFLAGS="-O2 -pipe -march=rv64imac -mabi=lp64"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"

# James Le Cuirot <chewi@gentoo.org> (2026-02-13)
# Enable the native QEMU target for this architecture by default.
QEMU_SOFTMMU_TARGETS="riscv64"