summaryrefslogtreecommitdiff
blob: e9ab1650b5594b0f37fdde7fa9d8890a1a746c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# RISC-V rv64gc/lp64 no-multilib profile

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

# We have only one ABI
MULTILIB_ABIS="lp64"
DEFAULT_ABI="lp64"
ABI="lp64"

# We hide the useflags for the ABIs
USE_EXPAND_HIDDEN="ABI_RISCV"