Loading executor.cpp +6 −0 Changes for executor.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -339,6 +339,12 @@ int Executor::execute_rule(const std::string& target, const Rule* rule, local_copy.variables[kv.first] = {kv.second, VarFlavor::Recursive, false}; mfp = &local_copy; } if (std::getenv("MP_DBG2") && target.find("system_call.o") != std::string::npos) { std::cerr << "[SCOPE pid=" << getpid() << "] target=" << target << " scope.size=" << scope.size() << "\n"; for (auto& kv : scope) std::cerr << " [" << kv.first << "]=[" << kv.second << "]\n"; } // Export marked variables into the environment so recipes and any // recursive sub-makes ($(MAKE)) inherit them. apply_exports(*mfp); Loading Loading
executor.cpp +6 −0 Changes for executor.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -339,6 +339,12 @@ int Executor::execute_rule(const std::string& target, const Rule* rule, local_copy.variables[kv.first] = {kv.second, VarFlavor::Recursive, false}; mfp = &local_copy; } if (std::getenv("MP_DBG2") && target.find("system_call.o") != std::string::npos) { std::cerr << "[SCOPE pid=" << getpid() << "] target=" << target << " scope.size=" << scope.size() << "\n"; for (auto& kv : scope) std::cerr << " [" << kv.first << "]=[" << kv.second << "]\n"; } // Export marked variables into the environment so recipes and any // recursive sub-makes ($(MAKE)) inherit them. apply_exports(*mfp); Loading