cli: Utilise unshare pour compiler les dépendances

This commit is contained in:
clement committed 2023-01-18 16:29:41 +01:00
1 parent a30e66fe06
commit bdcd115f51
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ namespace cli {
int BuildAction::run() {
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 OK;