From c5b22f2a70b8707f712d9114c5c05f3fb4fe68cd Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 29 Feb 2000 09:57:09 +0000 Subject: [PATCH] (C_OPTIMIZE_SWITCH) [__GNUC__]: Use -O2. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index d88c27fb415..475b985d583 100644 --- a/configure.in +++ b/configure.in @@ -1373,8 +1373,12 @@ configure___ system_malloc=no #endif #ifndef C_OPTIMIZE_SWITCH +#ifdef __GNUC__ +#define C_OPTIMIZE_SWITCH -O2 +#else #define C_OPTIMIZE_SWITCH -O #endif +#endif #ifndef LD_SWITCH_MACHINE #define LD_SWITCH_MACHINE -- 2.39.5