summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/t-rtems
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/t-rtems')
-rw-r--r--contrib/gcc/config/t-rtems7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/gcc/config/t-rtems b/contrib/gcc/config/t-rtems
index aa0ca66..5d7d569 100644
--- a/contrib/gcc/config/t-rtems
+++ b/contrib/gcc/config/t-rtems
@@ -4,3 +4,10 @@ STMP_FIXPROTO =
# Don't install "assert.h" in gcc. RTEMS uses the one in newlib.
INSTALL_ASSERT_H =
+# 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
OpenPOWER on IntegriCloud