aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-01-06 20:52:10 +0000
committerDoug Evans <dje@gnu.org>1996-01-06 20:52:10 +0000
commitd837906a750e248c64db25463bb0ec9e4fa4e0e6 (patch)
treed6d230de52adf1067524ed4037d8fe977ae2968a /gcc
parentaba629447a4f69a120512cd991fa69656eb9ddff (diff)
downloadgcc-d837906a750e248c64db25463bb0ec9e4fa4e0e6.zip
gcc-d837906a750e248c64db25463bb0ec9e4fa4e0e6.tar.gz
gcc-d837906a750e248c64db25463bb0ec9e4fa4e0e6.tar.bz2
(CPP_SPEC): Define.
From-SVN: r10944
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/a29k/vx29k.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config/a29k/vx29k.h b/gcc/config/a29k/vx29k.h
index 914b108..4b54366 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