From c143e54ae060183a4cd3ad9ceee9af2146defa12 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 27 Nov 2009 19:57:44 +0000 Subject: [PATCH] Allow Boost.Build to control keep-going behaviour [SVN r57978] --- historic/jam/src/jam.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/historic/jam/src/jam.c b/historic/jam/src/jam.c index cbffb4765..fc2f6bb29 100644 --- a/historic/jam/src/jam.c +++ b/historic/jam/src/jam.c @@ -495,6 +495,20 @@ int main( int argc, char * * argv, char * * arg_environ ) } } + /* KEEP_GOING overrides -q option. */ + { + LIST *p = L0; + p = var_get ("KEEP_GOING"); + if (p) + { + int v = atoi (p->string); + if (v == 0) + globs.quitquick = 1; + else + globs.quitquick = 0; + } + } + /* Now make target. */ { PROFILE_ENTER( MAIN_MAKE );