From d837906a750e248c64db25463bb0ec9e4fa4e0e6 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 6 Jan 1996 20:52:10 +0000 Subject: [PATCH] (CPP_SPEC): Define. From-SVN: r10944 --- gcc/config/a29k/vx29k.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/config/a29k/vx29k.h b/gcc/config/a29k/vx29k.h index 914b10878e6..4b54366fa7f 100644 --- a/gcc/config/a29k/vx29k.h +++ b/gcc/config/a29k/vx29k.h @@ -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 -- 2.30.2