(CPP_SPEC): Define, adding the CPU definition to what came from sparc.h.

(CPP_SPEC): Define, adding the CPU definition to
what came from sparc.h.
(CPP_PREDEFINES): Don't define it here.

From-SVN: r14162
This commit is contained in:
Doug Evans 1997-06-06 17:09:44 +00:00
parent e4264f1f37
commit f7577fca9a

View File

@ -36,7 +36,14 @@ Boston, MA 02111-1307, USA. */
#define STARTFILE_SPEC ""
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -Acpu(sparc) -Amachine(sparc) -DCPU=SPARC"
#define CPP_PREDEFINES "-Dsparc -Acpu(sparc) -Amachine(sparc)"
/* Note that we define CPU here even if the user has specified -ansi.
This violates user namespace, but the VxWorks headers, and potentially
user code, all explicitly rely upon the definition of CPU in order to get
the proper processor information. */
#undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) -DCPU=SPARC"
#undef PTRDIFF_TYPE
#undef SIZE_TYPE