summaryrefslogtreecommitdiff
path: root/gcc/config/a29k
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-06 20:52:10 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-06 20:52:10 +0000
commitf985e740baaa934a9872bd2f35fb1424a0f72b64 (patch)
treed6d230de52adf1067524ed4037d8fe977ae2968a /gcc/config/a29k
parent6bc98fa95804f8fde8c7f9dab1769a250f846ab3 (diff)
downloadgcc-f985e740baaa934a9872bd2f35fb1424a0f72b64.tar.gz
(CPP_SPEC): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10944 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/a29k')
-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 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