aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.ubsan4
1 files changed, 4 insertions, 0 deletions
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
14ifdef CONFIG_UBSAN_ALIGNMENT 14ifdef CONFIG_UBSAN_ALIGNMENT
15 CFLAGS_UBSAN += $(call cc-option, -fsanitize=alignment) 15 CFLAGS_UBSAN += $(call cc-option, -fsanitize=alignment)
16endif 16endif
17
18 # -fsanitize=* options makes GCC less smart than usual and
19 # increase number of 'maybe-uninitialized false-positives
20 CFLAGS_UBSAN += $(call cc-option, -Wno-maybe-uninitialized)
17endif 21endif