summaryrefslogtreecommitdiff
path: root/gcc/config/t-rtems
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/t-rtems')
-rw-r--r--gcc/config/t-rtems7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/t-rtems b/gcc/config/t-rtems
new file mode 100644
index 000000000..dfbd3afe9
--- /dev/null
+++ b/gcc/config/t-rtems
@@ -0,0 +1,7 @@
+# RTEMS always has limits.h.
+LIMITS_H_TEST = true
+
+# If we are building next to newlib, this will let us find the RTEMS
+# limits.h when building libgcc2. Otherwise, newlib must be installed
+# first.
+LIBGCC2_INCLUDES = -I$(srcdir)/../newlib/libc/sys/rtems/include