cli: Utilise unshare pour compiler les dépendances
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user