mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-05 08:30:51 +00:00
musllinux fix so wheels build can work
This commit is contained in:
parent
72690062a1
commit
b3b71df07c
1 changed files with 0 additions and 4 deletions
|
|
@ -253,11 +253,7 @@ std::optional<AbcProcess> spawn_abc(const char* abc_exe, DeferredLogs &logs) {
|
||||||
char arg1[] = "-s";
|
char arg1[] = "-s";
|
||||||
char* argv[] = { strdup(abc_exe), arg1, nullptr };
|
char* argv[] = { strdup(abc_exe), arg1, nullptr };
|
||||||
if (0 != posix_spawnp(&result.pid, abc_exe, &file_actions, nullptr, argv, environ)) {
|
if (0 != posix_spawnp(&result.pid, abc_exe, &file_actions, nullptr, argv, environ)) {
|
||||||
#if defined(__GLIBC__)
|
|
||||||
logs.log_error("posix_spawnp %s failed (errno=%s)", abc_exe, strerrorname_np(errno));
|
|
||||||
#else
|
|
||||||
logs.log_error("posix_spawnp %s failed (errno=%s)", abc_exe, strerror(errno));
|
logs.log_error("posix_spawnp %s failed (errno=%s)", abc_exe, strerror(errno));
|
||||||
#endif
|
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
free(argv[0]);
|
free(argv[0]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue