kernel: Enable UBSAN when building in debug mode
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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