mm/ubsan: UBSan option should be turned on if SIM_UBSAN enabled
@@ -224,7 +224,7 @@ config MM_UBSAN_ALL
config MM_UBSAN_OPTION
string "UBSan options"
- depends on MM_UBSAN
+ depends on MM_UBSAN || SIM_UBSAN
default "-fsanitize=undefined"
---help---
This option activates specified UBSan instrumentation. Please
