Browse Source

Build: use same optimization level in debug and release build

pull/35/head
heck 3 years ago
parent
commit
e6e3ba1801
  1. 2
      Makefile.conf

2
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

Loading…
Cancel
Save