Commit f4f81af
committed
chore(build): remove sanitizer flags from CMakeLists
Removed AddressSanitizer and UndefinedBehaviorSanitizer flags from
CMakeLists.txt and tests/CMakeLists.txt:
- Removed -fsanitize=undefined,address from CXX_FLAGS and C_FLAGS
- Removed -O0 -Wall -g -ggdb3 debug flags
- Removed sanitizer linker flags
These flags were temporarily added for memory leak detection during
development but are not needed in the main branch.
Log: Remove sanitizer flags from CMake configuration
Influence:
1. Verify project builds successfully without sanitizer flags
2. Check that test compilation works normally
3. Ensure no performance impact from removed debug flags
chore(build): 从 CMakeLists 中移除 sanitizer 标志
从 CMakeLists.txt 和 tests/CMakeLists.txt 中移除了 AddressSanitizer
和 UndefinedBehaviorSanitizer 标志:
- 从 CXX_FLAGS 和 C_FLAGS 中移除 -fsanitize=undefined,address
- 移除 -O0 -Wall -g -ggdb3 调试标志
- 移除 sanitizer 链接器标志
这些标志是在开发期间临时添加用于内存泄漏检测的,但在主分支中不需要。
Log: 从 CMake 配置中移除 sanitizer 标志
Influence:
1. 验证项目在没有 sanitizer 标志的情况下成功构建
2. 检查测试编译是否正常工作
3. 确保移除调试标志后没有性能影响1 parent 0a5625f commit f4f81af
2 files changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 27 | | |
34 | 28 | | |
35 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 5 | | |
0 commit comments