mirror of https://gitlab.com/nakst/essence
in automated builds, set skipYesChecks for build_gcc.script
This commit is contained in:
parent
4a31fe1850
commit
b0ddc1fe23
|
@ -1535,7 +1535,12 @@ void DoCommand(const char *l) {
|
||||||
DoCommand("setup-pre-built-toolchain");
|
DoCommand("setup-pre-built-toolchain");
|
||||||
AddCompilerToPath();
|
AddCompilerToPath();
|
||||||
#else
|
#else
|
||||||
|
if (automatedBuild) {
|
||||||
|
CallSystem("bin/script util/build_gcc.script skipYesChecks=true");
|
||||||
|
} else {
|
||||||
CallSystem("bin/script util/build_gcc.script");
|
CallSystem("bin/script util/build_gcc.script");
|
||||||
|
}
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
#endif
|
#endif
|
||||||
} else if (0 == strcmp(l, "help") || 0 == strcmp(l, "h") || 0 == strcmp(l, "?")) {
|
} else if (0 == strcmp(l, "help") || 0 == strcmp(l, "h") || 0 == strcmp(l, "?")) {
|
||||||
|
|
Loading…
Reference in New Issue