Explorar o código

Use -O0 for debug build

Source commit: bc14bc5107be9050981817e1ed3633956e94cea2
Martin Prikryl hai 1 semana
pai
achega
fce68a34a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libs/Makefile.inc

+ 1 - 1
libs/Makefile.inc

@@ -13,5 +13,5 @@ CFLAG_COMMON = \
 CFLAG_CPP = \
     $(CFLAG_BASE) -x c++ -std=c++17 -fcxx-exceptions -ffunction-sections -fno-use-cxa-atexit
 
-# Debug:
+# Debug (and replace -O2 with -O0):
 # CFLAG_CPP=$(CFLAG_CPP) -D_DEBUG -debug-info-kind=standalone