kernel: Enable UBSAN when building in debug mode

This commit is contained in:
apio 2023-02-25 17:37:50 +01:00
parent d82b3f809b
commit 5f6a659fa1
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -1 +1,2 @@
target_compile_definitions(moon PRIVATE LOCKED_VALUE_DEBUG) target_compile_definitions(moon PRIVATE LOCKED_VALUE_DEBUG)
target_compile_options(moon PRIVATE -fsanitize=undefined)