浏览代码

Use -O0 for debug build

Source commit: bc14bc5107be9050981817e1ed3633956e94cea2
Martin Prikryl 1 周之前
父节点
当前提交
fce68a34a6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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