summaryrefslogtreecommitdiff
path: root/profiles/arch/riscv/rv32imac/ilp32/make.defaults
blob: 4e7eed0bff7b9303b5237db36c04d1428fb7cf49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# RISC-V rv32imac/ilp32 no-multilib profile

CHOST="riscv32-unknown-linux-gnu"

MULTILIB_ABIS="ilp32"
DEFAULT_ABI="ilp32"
ABI="ilp32"

LIBDIR_ilp32="lib"

CFLAGS="-O2 -pipe -march=rv32imac -mabi=ilp32"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"

## Mike Gilbert <floppym@gentoo.org> (2021-12-17)
## Prevent automagic use of 64-bit time_t.
## https://bugs.gentoo.org/828001
#
# Andreas K. Hüttel <dilfridge@gentoo.org> (2023-10-10)
# We need to undo this for riscv32 since it only has the 64bit interface
#
enable_year2038="yes"