[gcompris/gcomprixogoo] Added -O2 compilation flag. Without it we crashes on macosx EXC_ARITHMETIC in a g_malloc in sound in



commit 36a2a862fefe5d2ddf8ef344e2a06fccb47717d6
Author: Bruno Coudoin <bruno coudoin gcompris net>
Date:   Sat Oct 30 15:54:01 2010 +0200

    Added -O2 compilation flag. Without it we crashes on macosx EXC_ARITHMETIC in a g_malloc in sound init.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cce5455..63076a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,7 +205,7 @@ if test "x$USE_DEBUG" == "xyes" ; then
     AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.")
     CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -Werror -g"
 else
-    CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -Werror"
+    CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -Werror -O2"
 fi
 
 dnl disable activation code



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]