From 998818989a0eee8d8a6a13fdf1b5a6925653df1d Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Tue, 13 Feb 2024 15:30:19 +0100
Subject: [PATCH] Disable optimization when building in debug mode

---
 src/make.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/make.inc b/src/make.inc
index b1536f10..c56fd133 100644
--- a/src/make.inc
+++ b/src/make.inc
@@ -40,7 +40,7 @@ endif
 
 # CXXFLAGS defines the default compilation options for the C++ compiler
 ifndef CXXFLAGS
-#override CXXFLAGS=-O3 -ggdb -pg -coverage -I$(HDF5_INCLUDE)
+#override CXXFLAGS=-O0 -ggdb -pg -coverage -I$(HDF5_INCLUDE)
 override CXXFLAGS=-O3 -I$(HDF5_INCLUDE)
 endif
 
-- 
GitLab