diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-02-29 09:57:09 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-02-29 09:57:09 +0000 |
commit | c5b22f2a70b8707f712d9114c5c05f3fb4fe68cd (patch) | |
tree | 1a7f3df732c1f93eaaf254f74561ed508f1e0cc2 /configure.in | |
parent | 32038c7ac09d6b4c0d5a6ac324d02bf6300a2cc9 (diff) | |
download | emacs-c5b22f2a70b8707f712d9114c5c05f3fb4fe68cd.tar.gz |
(C_OPTIMIZE_SWITCH) [__GNUC__]: Use -O2.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
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 |