Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host9
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index d47120089..3d967a11b 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -255,6 +255,12 @@ case "${host_cpu}" in
powerpc*)
machine_dir=powerpc
;;
+ riscv*)
+ libm_machine_dir=riscv
+ machine_dir=riscv
+ newlib_cflags="${newlib_cflags}"
+ default_newlib_atexit_dynamic_alloc="no"
+ ;;
rl78)
machine_dir=rl78
newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY"
@@ -806,6 +812,9 @@ case "${host}" in
newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DHAVE_FCNTL -D_NO_POSIX_SPAWN"
syscall_dir=syscalls
;;
+ riscv*-*-*)
+ syscall_dir=syscalls
+ ;;
sh*-*-*)
default_newlib_io_long_long="yes"
syscall_dir=syscalls