mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-22 15:15:51 +00:00
Try again
This commit is contained in:
parent
a1c26a9da5
commit
8af276f106
1 changed files with 1 additions and 5 deletions
|
|
@ -77,10 +77,6 @@ namespace abc {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef __GLIBC__
|
||||
#define strerrorname_np(x) strerror(x)
|
||||
#endif
|
||||
|
||||
USING_YOSYS_NAMESPACE
|
||||
PRIVATE_NAMESPACE_BEGIN
|
||||
|
||||
|
|
@ -260,7 +256,7 @@ std::optional<AbcProcess> spawn_abc(const char* abc_exe, DeferredLogs &logs) {
|
|||
char arg1[] = "-s";
|
||||
char* argv[] = { strdup(abc_exe), arg1, nullptr };
|
||||
if (0 != posix_spawnp(&result.pid, abc_exe, &file_actions, nullptr, argv, environ)) {
|
||||
logs.log_error("posix_spawnp %s failed (errno=%s)", abc_exe, strerrorname_np(errno));
|
||||
logs.log_error("posix_spawnp %s failed (errno=%s)", abc_exe, strerror(errno));
|
||||
return std::nullopt;
|
||||
}
|
||||
free(argv[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue