about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-06T12·21+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-06T12·21+0200
commit263d6682224f516aed74286453c5e2e097a38aa6 (patch)
tree85a28b0a22eaddcf5851ec18d7ccb11c482a743f /configure.ac
parentfd7d979c79759e5db68e4b62b3550a3906f67d40 (diff)
Set the default GCC optimisation level to -O3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e963fbc9f5d0..9ffefa914434 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,8 @@ if test "$sys_name" = sunos; then
 fi
 
 
+CFLAGS=${CFLAGS:--g -O3}
+CXXFLAGS=${CXXFLAGS:--g -O3}
 AC_PROG_CC
 AC_PROG_CXX