summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-02-29 09:57:09 +0000
committerGerd Moellmann <gerd@gnu.org>2000-02-29 09:57:09 +0000
commitc5b22f2a70b8707f712d9114c5c05f3fb4fe68cd (patch)
tree1a7f3df732c1f93eaaf254f74561ed508f1e0cc2 /configure.in
parent32038c7ac09d6b4c0d5a6ac324d02bf6300a2cc9 (diff)
downloademacs-c5b22f2a70b8707f712d9114c5c05f3fb4fe68cd.tar.gz
(C_OPTIMIZE_SWITCH) [__GNUC__]: Use -O2.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
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