From b95f9e2576fe136b7b9ff6f4920dd27b1c0ff958 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 23 Nov 2007 13:54:02 +0000 Subject: [PATCH] Remove -O compiler option (optimization) for compilation of SALOME modules in debug mode --- salome_adm/unix/config_files/production.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ]) -- 2.39.2