From b0ddc1fe232891486e27e206c8da267cc2a318df Mon Sep 17 00:00:00 2001 From: nakst <> Date: Fri, 28 Jan 2022 18:18:46 +0000 Subject: [PATCH] in automated builds, set skipYesChecks for build_gcc.script --- util/build.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/build.c b/util/build.c index cccbade..02e81b0 100644 --- a/util/build.c +++ b/util/build.c @@ -1535,7 +1535,12 @@ void DoCommand(const char *l) { DoCommand("setup-pre-built-toolchain"); AddCompilerToPath(); #else - CallSystem("bin/script util/build_gcc.script"); + if (automatedBuild) { + CallSystem("bin/script util/build_gcc.script skipYesChecks=true"); + } else { + CallSystem("bin/script util/build_gcc.script"); + } + exit(0); #endif } else if (0 == strcmp(l, "help") || 0 == strcmp(l, "h") || 0 == strcmp(l, "?")) {