From 3361120bc879c218a5107d2ff59255af0b07c97e Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 27 Feb 2019 11:40:33 -0700 Subject: util/abuild: Set fatal asserts when running scanbuild Because coreboot's asserts aren't fatal by default, scan-build finds problems in code that is actually protected by an assert. This change fixes that and allows us to add asserts to protect against other failures. Change-Id: I9fa605d6309bb40a9cef33b434c9256bf731f457 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/31650 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/abuild/abuild | 1 + 1 file changed, 1 insertion(+) diff --git a/util/abuild/abuild b/util/abuild/abuild index d32b16d922..abfedba614 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -675,6 +675,7 @@ while true ; do scanbuild=true customizing="${customizing}, scan-build" SCANBUILD_ARGS=${SCANBUILD_ARGS:-'-k'} + configoptions="${configoptions}CONFIG_FATAL_ASSERTS=y\n" ;; -y|--ccache) shift customizing="${customizing}, ccache" -- cgit v1.2.3