summaryrefslogtreecommitdiff
path: root/profiles/arch/riscv/rv64gc/lp64/make.defaults
blob: dd2a429910945a79ad4fa058106c7506fcc08446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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"