--- gcc/config/mips-svr4.h 2018/04/24 18:00:23 1.1.1.2 +++ gcc/config/mips-svr4.h 2018/04/24 18:06:24 1.1.1.3 @@ -19,7 +19,8 @@ the Free Software Foundation, 675 Mass A #define MIPS_SVR4 -#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SVR4" +#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SVR4 \ +-D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_SVR4" #define SYSTEM_INCLUDE_DIR "/svr4/usr/include" @@ -36,7 +37,7 @@ the Free Software Foundation, 675 Mass A %{!mgas: \ %{EB} %{!EB:-EB} \ %{EL: %e-EL not supported} \ - %{bestGnum} \ + %{bestGnum} %{shared} %{non_shared} \ %{mips1} %{mips2} %{mips3} \ -systype /svr4/}"