Set correct float abi (float abi double) for hard-float build, so
__riscv_float_abi_double macro will be defined by compiler. The options are: o lp64 __riscv_float_abi_soft o lp64f __riscv_float_abi_single o lp64d __riscv_float_abi_double Sponsored by: DARPA, AFRL
This commit is contained in:
parent
c382392d70
commit
3783c1b196
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332672
@ -370,8 +370,8 @@ CFLAGS += -mcpu=8540 -Wa,-me500 -mspe=yes -mabi=spe -mfloat-gprs=double
|
||||
CFLAGS += -march=rv64imac -mabi=lp64
|
||||
ACFLAGS += -march=rv64imac -mabi=lp64
|
||||
.else
|
||||
CFLAGS += -march=rv64imafdc -mabi=lp64
|
||||
ACFLAGS += -march=rv64imafdc -mabi=lp64
|
||||
CFLAGS += -march=rv64imafdc -mabi=lp64d
|
||||
ACFLAGS += -march=rv64imafdc -mabi=lp64d
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user