From 263d6682224f516aed74286453c5e2e097a38aa6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 6 Aug 2013 14:21:46 +0200 Subject: [PATCH] Set the default GCC optimisation level to -O3 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) 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