aboutsummaryrefslogtreecommitdiff
path: root/newlib/configure.host
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-03-22 23:45:43 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-03-22 23:45:43 +0000
commit859c94e8de8c009b1ac20072005379c34bf7f395 (patch)
tree50b78ce5b43204afde3587691261d47d9bd5581f /newlib/configure.host
parenteb35705027d77e1c0c5b896838f9f67289c7169c (diff)
downloadnewlib-859c94e8de8c009b1ac20072005379c34bf7f395.zip
newlib-859c94e8de8c009b1ac20072005379c34bf7f395.tar.gz
newlib-859c94e8de8c009b1ac20072005379c34bf7f395.tar.bz2
2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on. * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather than errno.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 2265e7b..dbf0636 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -502,6 +502,9 @@ case "${host}" in
newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR"
fi
;;
+ arc*)
+ newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED"
+ ;;
avr*)
newlib_cflags="${newlib_cflags} -DNO_EXEC -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES"
;;