Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84167?usp=email )
Change subject: [only build test] tree: add -fsanitize=undefined ......................................................................
[only build test] tree: add -fsanitize=undefined
Change-Id: I4002ba18ebddb87f177b27048d8ade2df8016362 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M Makefile.mk 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/84167/1
diff --git a/Makefile.mk b/Makefile.mk index e7a9ab1..a00e249 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -534,7 +534,7 @@ CFLAGS_common += -fno-pie CFLAGS_common += -Wstring-compare ifeq ($(CONFIG_COMPILER_GCC),y) -CFLAGS_common += -Wold-style-declaration +CFLAGS_common += -Wold-style-declaration -fsanitize=undefined CFLAGS_common += -Wcast-function-type # Don't add these GCC specific flags when running scan-build ifeq ($(CCC_ANALYZER_OUTPUT_FORMAT),)