ubsan: disable UBSAN_TRAP for all*config
[linux-2.6-microblaze.git] / lib / Kconfig.ubsan
index 4190a99..6e8b67d 100644 (file)
@@ -14,6 +14,7 @@ if UBSAN
 
 config UBSAN_TRAP
        bool "On Sanitizer warnings, abort the running kernel code"
+       depends on !COMPILE_TEST
        depends on $(cc-option, -fsanitize-undefined-trap-on-error)
        help
          Building kernels with Sanitizer features enabled tends to grow