From d783311de6be0b651ae36a9484355d0687e7c1b9 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 2 Mar 2000 10:23:27 +0000 Subject: [PATCH] Don't set C_OPTIMIZE_SWITCH for gcc. --- src/m/mips-siemens.h | 1 - src/m/news-r6.h | 1 - src/m/news-risc.h | 2 -- src/m/tekxd88.h | 1 - 4 files changed, 5 deletions(-) diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h index eb30cf88c68..56f86a6fddd 100644 --- a/src/m/mips-siemens.h +++ b/src/m/mips-siemens.h @@ -153,7 +153,6 @@ NOTE-END */ #ifdef __GNUC__ #define C_DEBUG_SWITCH -#define C_OPTIMIZE_SWITCH -O #define LD_SWITCH_MACHINE #else #define C_DEBUG_SWITCH -DSYSV diff --git a/src/m/news-r6.h b/src/m/news-r6.h index dbdb66c287c..9279e6aec66 100644 --- a/src/m/news-r6.h +++ b/src/m/news-r6.h @@ -40,7 +40,6 @@ /*#define C_DEBUG_SWITCH -g*/ #define C_DEBUG_SWITCH -O -Olimit 2000 #ifdef __GNUC__ -#define C_OPTIMIZE_SWITCH -O #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 #else /* !__GNUC__ */ /*#define LD_SWITCH_MACHINE -D 800000 -g*/ diff --git a/src/m/news-risc.h b/src/m/news-risc.h index d6e2c60dd28..bbf5b7ea276 100644 --- a/src/m/news-risc.h +++ b/src/m/news-risc.h @@ -9,8 +9,6 @@ #define LIBS_MACHINE -lmld #ifdef __GNUC__ -#define C_DEBUG_SWITCH -g -#define C_OPTIMIZE_SWITCH -g -O #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 #else #define C_DEBUG_SWITCH -g3 diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h index dbda4cb181f..6f67b509c58 100644 --- a/src/m/tekxd88.h +++ b/src/m/tekxd88.h @@ -91,7 +91,6 @@ Boston, MA 02111-1307, USA. */ # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */ # define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */ # undef C_ALLOCA -# define C_OPTIMIZE_SWITCH -O2 #else /* not __GNUC__ */ # undef HAVE_ALLOCA # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ -- 2.39.5