in automated builds, set skipYesChecks for build_gcc.script

This commit is contained in:
nakst 2022-01-28 18:18:46 +00:00
parent 4a31fe1850
commit b0ddc1fe23
1 changed files with 6 additions and 1 deletions

View File

@ -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, "?")) {