diff --git a/passes/techmap/abc.cc b/passes/techmap/abc.cc index 88311fc2c..ad4dc5ccd 100644 --- a/passes/techmap/abc.cc +++ b/passes/techmap/abc.cc @@ -253,11 +253,7 @@ std::optional 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)) { -#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)); -#endif return std::nullopt; } free(argv[0]);