Commit bf1fec41 by Tom Wood

(CPP_PREDEFINES): Drop -Dmc88100.

	(CPP_SPEC): Reproduce the predefine -Dmc88100 when -m88100 is in
	effect.  Otherwise, supply -D__mc881x0__ when -m881x0 is in effect.

From-SVN: r2474
parent 8227896c
...@@ -37,7 +37,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -37,7 +37,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Macros to be automatically defined. */ /* Macros to be automatically defined. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-DMACH -Dmc88100 -Dm88k -Dunix -Dluna -Dluna88k -D__CLASSIFY_TYPE__=2" "-DMACH -Dm88k -Dunix -Dluna -Dluna88k -D__CLASSIFY_TYPE__=2"
/* If -m88000 is in effect, add -Dmc88000; similarly for -m88100 and -m88110.
However, reproduce the effect of -Dmc88100 previously in CPP_PREDEFINES.
Here, the CPU_DEFAULT is assumed to be -m88100. */
#undef CPP_SPEC
#define CPP_SPEC "%{m88000:-D__mc88000__} \
%{!m88000:%{m88100:%{m88110:-D__mc88000__}}} \
%{!m88000:%{!m88100:%{m88110:-D__mc88110__}}} \
%{!m88000:%{!m88110:%{!ansi:%{traditional:-Dmc88100}} \
-D__mc88100__ -D__mc88100}}"
/* Specify extra dir to search for include files. */ /* Specify extra dir to search for include files. */
#undef SYSTEM_INCLUDE_DIR #undef SYSTEM_INCLUDE_DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment