mirror of
https://github.com/opnsense/src.git
synced 2026-04-07 02:15:51 -04:00
Hardfloat is now default (use riscv64sf as TARGET_ARCH for softfloat). Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D8529
13 lines
261 B
Makefile
13 lines
261 B
Makefile
# $FreeBSD$
|
|
#
|
|
# Machine dependent definitions for the RISC-V architecture.
|
|
#
|
|
|
|
.if ${MACHINE_ARCH:Mriscv*sf} != ""
|
|
CFLAGS+=-DSOFTFLOAT
|
|
.endif
|
|
|
|
# Long double is quad precision
|
|
GDTOASRCS+=strtorQ.c
|
|
MDSRCS+=machdep_ldisQ.c
|
|
SYM_MAPS+=${LIBC_SRCTOP}/riscv/Symbol.map
|