1
Fork 0
hermetic_cc_toolchain/toolchain
Motiejus Jakštys 7b0de33070 work-around res_search on older glibcs
`res_search` became a proper symbol only in glibc 2.34. Until that it
was re-defined in headers, hitting the (in-)famous
https://github.com/ziglang/zig/issues/9485

glibc 2.34+:

    resolv/resolv.h:int             res_search (const char *, int, int, unsigned char *, int)

Old glibc:

    resolv/resolv.h:#define res_search              __res_search

Also, remove the toplevel includes, as they should never be included in
the first place: the headers are included explicitly when needed.
2023-01-18 15:45:47 +02:00
..
libc Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
libc_aware Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
platform added support for Windows targets 2022-06-02 05:27:22 +03:00
private work-around res_search on older glibcs 2023-01-18 15:45:47 +02:00
toolchain WIP: use relative paths for tools 2022-09-27 10:14:59 +03:00
BUILD add .build.yml 2021-06-08 06:28:15 +03:00
BUILD.sdk.bazel work-around res_search on older glibcs 2023-01-18 15:45:47 +02:00
defs.bzl work-around res_search on older glibcs 2023-01-18 15:45:47 +02:00
launcher.zig zig launcher: replace shell wrappers with a binary 2023-01-03 11:46:58 +02:00
zig_toolchain.bzl Use artifact_name_pattern to specify proper macos and windows artifact names. 2022-12-18 05:29:04 +02:00