Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34567 )
Change subject: util/abuild: Add --asserts flag ......................................................................
util/abuild: Add --asserts flag
This enables fatal asserts, which can be useful to get better diagnostics by the build tools (both compilers and static analysis.)
Change-Id: I1e1653f465fe1f545878d6eec83b8645dc17d9cb Signed-off-by: Patrick Georgi pgeorgi@google.com --- M util/abuild/abuild 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/34567/1
diff --git a/util/abuild/abuild b/util/abuild/abuild index abfedba..d9c698e 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -677,6 +677,9 @@ SCANBUILD_ARGS=${SCANBUILD_ARGS:-'-k'} configoptions="${configoptions}CONFIG_FATAL_ASSERTS=y\n" ;; + --asserts) shift + configoptions="${configoptions}CONFIG_FATAL_ASSERTS=y\n" + ;; -y|--ccache) shift customizing="${customizing}, ccache" configoptions="${configoptions}CONFIG_CCACHE=y\n"