From: vsr Date: Fri, 23 Nov 2007 13:54:02 +0000 (+0000) Subject: Remove -O compiler option (optimization) for compilation of SALOME modules in debug... X-Git-Tag: V4_1_0rc2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b95f9e2576fe136b7b9ff6f4920dd27b1c0ff958;p=modules%2Fkernel.git Remove -O compiler option (optimization) for compilation of SALOME modules in debug mode --- diff --git a/salome_adm/unix/config_files/production.m4 b/salome_adm/unix/config_files/production.m4 index 1d2b1b0a5..b43c055a1 100644 --- a/salome_adm/unix/config_files/production.m4 +++ b/salome_adm/unix/config_files/production.m4 @@ -56,8 +56,8 @@ if test "X$enable_production" = "Xyes"; then AC_CXX_OPTION(-Wuninitialized,CXXFLAGS) CXXFLAGS="$CXXFLAGS -O " else - CFLAGS="$CFLAGS -O -g" - CXXFLAGS="$CXXFLAGS -O -g" + CFLAGS="$CFLAGS -g" + CXXFLAGS="$CXXFLAGS -g" fi ])