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:
-rw-r--r--newlib/configure.host6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 7e9336a0a..c5b773465 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -135,6 +135,12 @@ case "${host_cpu}" in
machine_dir=cr16
;;
cris | crisv32)
+ # The size of the (kernel_)time_t passed from or to a
+ # simulator or a Linux kernel is mandated by the
+ # gettimeofday and time system calls and fixed to 32 bits, the
+ # size of a long. Instead of churning as 64 bits what is anyway
+ # 32 bits, it makes more sense to default to long.
+ test -z "${enable_newlib_long_time_t}" && newlib_long_time_t=yes
machine_dir=cris
;;
crx*)