summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/stdlib/system.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 80758939f..7d381f3e2 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,9 @@
2000-12-04 Joel Sherrill <joel@OARcorp.com>
+ * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
+
+2000-12-04 Joel Sherrill <joel@OARcorp.com>
+
* libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2000-12-04 Joel Sherrill <joel@OARcorp.com>
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c
index 770996e57..cc12411e3 100644
--- a/newlib/libc/stdlib/system.c
+++ b/newlib/libc/stdlib/system.c
@@ -106,7 +106,7 @@ system (s)
#endif
-#if defined (unix) && !defined (__CYGWIN__)
+#if defined (unix) && !defined (__CYGWIN__) && !defined(__rtems__)
extern char **environ;
/* Only deal with a pointer to environ, to work around subtle bugs with shared