Build: use same optimization level in debug and release build

master
heck 2 months ago
parent 14b7a9c5fe
commit e6e3ba1801

@ -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

Loading…
Cancel
Save