forked from OctaForge/OctaBuild
api fixes
parent
4ebf975060
commit
27ec4d2aa0
6
main.cc
6
main.cc
|
@ -399,17 +399,17 @@ struct ObState: CsState {
|
||||||
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
|
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
|
||||||
StackedValue targetv, sourcev, sourcesv;
|
StackedValue targetv, sourcev, sourcesv;
|
||||||
|
|
||||||
if (!targetv.set_id(new_ident("target"))) {
|
if (!targetv.set_alias(new_ident("target"))) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
targetv.set_cstr(tname);
|
targetv.set_cstr(tname);
|
||||||
targetv.push();
|
targetv.push();
|
||||||
|
|
||||||
if (!subdeps.empty()) {
|
if (!subdeps.empty()) {
|
||||||
if (!sourcev.set_id(new_ident("source"))) {
|
if (!sourcev.set_alias(new_ident("source"))) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (!sourcesv.set_id(new_ident("sources"))) {
|
if (!sourcesv.set_alias(new_ident("sources"))) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue