mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 04:38:59 +00:00
In SPLIT build mode, nuttx_add_kernel_library(mm SPLIT) creates two targets: mm (system library) and kmm (kernel library). The compile options were being applied to the mm target via target_compile_options(mm ...), but the kasan instrumentation is compiled as part of the kmm target. Change target_compile_options(mm ...) to target_compile_options(kmm ...) so that FLAGS (including -fno-builtin and NO_LTO) are correctly applied to the kernel target where kasan code is compiled. Signed-off-by: leisiji <2265215145@qq.com> |
||
|---|---|---|
| .. | ||
| iob | ||
| kasan | ||
| kmap | ||
| kmm_heap | ||
| map | ||
| mempool | ||
| mm_gran | ||
| mm_heap | ||
| shm | ||
| tlsf | ||
| ubsan | ||
| umm_heap | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Makefile | ||