X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=scripts%2FMakefile.ubsan;h=77ce538268b5d7c4ebee9b598d17dadcd4dfd189;hb=fc5b7f3bf1e1414bd4e91db6918c85ace0c873a5;hp=8ab68679cfb5b65cebd5f05d5d5054812bd4c651;hpb=692b8c663cbaf892d10106fbca543b4bbc3202ad;p=deliverable%2Flinux.git diff --git a/scripts/Makefile.ubsan b/scripts/Makefile.ubsan index 8ab68679cfb5..77ce538268b5 100644 --- a/scripts/Makefile.ubsan +++ b/scripts/Makefile.ubsan @@ -14,4 +14,8 @@ ifdef CONFIG_UBSAN ifdef CONFIG_UBSAN_ALIGNMENT CFLAGS_UBSAN += $(call cc-option, -fsanitize=alignment) endif + + # -fsanitize=* options makes GCC less smart than usual and + # increase number of 'maybe-uninitialized false-positives + CFLAGS_UBSAN += $(call cc-option, -Wno-maybe-uninitialized) endif