summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rtems.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/rtems.h')
-rw-r--r--gcc/config/rs6000/rtems.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h
index b63b44c5747..0bcec52da35 100644
--- a/gcc/config/rs6000/rtems.h
+++ b/gcc/config/rs6000/rtems.h
@@ -28,6 +28,10 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES "-DPPC -Drtems -D__rtems__ \
-Asystem(rtems) -Acpu(powerpc) -Amachine(powerpc)"
-/* rtems is in the SUBTARGET_SWITCHES in rs6000/sysv4.h */
+/* extend the SUBTARGET_SWITCHES in rs6000/sysv4.h */
+
+#undef EXTRA_SUBTARGET_SWITCHES
+#define EXTRA_SUBTARGET_SWITCHES \
+ { "rtems", 0 },
/* end of powerpc-rtems.h */