Prekernel: Disable KASAN, so it has no effect when enabled
I was working on some more KASAN changes and realized the system no longer links when passing -DENABLE_KERNEL_ADDRESS_SANITIZER=ON. Prekernel will likely never have KASAN support given it's limited environment, so just suppress it's usage.
This commit is contained in:
parent
25b76462bf
commit
7fce0693a5
Notes:
sideshowbarker
2024-07-18 07:44:44 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/7fce0693a51 Pull-request: https://github.com/SerenityOS/serenity/pull/9106
1 changed files with 1 additions and 1 deletions
|
@ -30,4 +30,4 @@ add_custom_command(
|
|||
)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Prekernel" DESTINATION boot)
|
||||
set_source_files_properties(${SOURCES} PROPERTIES COMPILE_FLAGS "-fno-sanitize-coverage=trace-pc")
|
||||
set_source_files_properties(${SOURCES} PROPERTIES COMPILE_FLAGS "-fno-sanitize-coverage=trace-pc -fno-sanitize=kernel-address")
|
||||
|
|
Loading…
Add table
Reference in a new issue