aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-06 14:21:46 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-06 14:21:46 +0200
commit263d6682224f516aed74286453c5e2e097a38aa6 (patch)
tree85a28b0a22eaddcf5851ec18d7ccb11c482a743f
parentfd7d979c79759e5db68e4b62b3550a3906f67d40 (diff)
Set the default GCC optimisation level to -O3
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e963fbc9f..9ffefa914 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