(CPP_SPEC): Define.
authorDoug Evans <dje@gnu.org>
Sat, 6 Jan 1996 20:52:10 +0000 (20:52 +0000)
committerDoug Evans <dje@gnu.org>
Sat, 6 Jan 1996 20:52:10 +0000 (20:52 +0000)
From-SVN: r10944

gcc/config/a29k/vx29k.h

index 914b10878e6422447eaa344fafe8a8cd43381d93..4b54366fa7fae434dc832a43361e3adc305b8e63 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler.  Vxworks 29k version.
-   Copyright (C) 1994, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -27,6 +27,13 @@ Boston, MA 02111-1307, USA.  */
 #undef  CPP_PREDEFINES
 #define CPP_PREDEFINES "-D_AM29K -D_AM29000 -Acpu(a29k) -Amachine(a29k) -D__vxworks -D__vxworks_5"
 
+/* Vxworks header files require that the macro CPU be set.
+   We could define it in CPP_PREDEFINES, but the value is (or will be)
+   dependent upon GCC options.  */
+
+#undef CPP_SPEC
+#define CPP_SPEC "-DCPU=AM29200"
+
 /* VxWorks does all the library stuff itself.  */
 
 #undef LIB_SPEC