From e6e3ba1801c54fd3e48ef6ad7a3efc5794f21700 Mon Sep 17 00:00:00 2001 From: heck Date: Thu, 15 Dec 2022 12:49:08 +0100 Subject: [PATCH] Build: use same optimization level in debug and release build --- Makefile.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.conf b/Makefile.conf index 8a29b41..3490afa 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -63,7 +63,7 @@ endif ### Debug or Release build ifeq ($(DEBUG),1) $(info Debug build (set DEBUG=0 for release build)) - CXXFLAGS+=-g + CXXFLAGS+=-g -O3 else $(info Release Build (set DEBUG=1 for debug build)) CXXFLAGS+=-DNDEBUG=1 -O3