X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=lib%2FKconfig.ubsan;h=39494af9a84ac89e6fbbc1f25d9407c70d19e66f;hb=40edd7fdfc8a2c838c313b982f318cd69e638750;hp=e07c1ba9ba1339a80dac79d59255d80d600b096e;hpb=5a6b7e53d035db7941b27122365cca9f2e912596;p=deliverable%2Flinux.git diff --git a/lib/Kconfig.ubsan b/lib/Kconfig.ubsan index e07c1ba9ba13..39494af9a84a 100644 --- a/lib/Kconfig.ubsan +++ b/lib/Kconfig.ubsan @@ -13,6 +13,11 @@ config UBSAN_SANITIZE_ALL bool "Enable instrumentation for the entire kernel" depends on UBSAN depends on ARCH_HAS_UBSAN_SANITIZE_ALL + + # We build with -Wno-maybe-uninitilzed, but we still want to + # use -Wmaybe-uninitilized in allmodconfig builds. + # So dependsy bellow used to disable this option in allmodconfig + depends on !COMPILE_TEST default y help This option activates instrumentation for the entire kernel.