cli: Utilise unshare pour compiler les dépendances

This commit is contained in:
2023-01-18 16:29:41 +01:00
parent a30e66fe06
commit bdcd115f51

View File

@@ -16,7 +16,7 @@ namespace cli {
int BuildAction::run() { int BuildAction::run() {
bootstrap(); bootstrap();
if (execlp("make", "make", "-f", OKI_INTERNAL_MAKEFILE.c_str(), nullptr) == -1) { if (execlp("unshare", "unshare", "-r", "-n", "make", "-f", OKI_INTERNAL_MAKEFILE.c_str(), nullptr) == -1) {
return ERR_OSERR; return ERR_OSERR;
} }
return OK; return OK;