diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-05-10 21:29:20 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-05-11 21:30:07 +0200 |
| commit | 5ac91794cce8bd53916a378815be01e4365d53d9 (patch) | |
| tree | e8c8e858a3d72d8aa422722a99ea96c7eda06a51 /lib/std/priority_queue.zig | |
| parent | ace5714551da16b541d8015e97a2fe32a7a1cf76 (diff) | |
| download | zig-5ac91794cce8bd53916a378815be01e4365d53d9.tar.gz zig-5ac91794cce8bd53916a378815be01e4365d53d9.zip | |
stage2: use system libc when targeting the native OS/ABI
Currently zig will always try to build its own libc and compile against
that. This of course makes sense for cross-compilation, but can cause
problems when targeting the native OS/ABI.
For example, if the system uses a newer glibc version than zig ships
zig will fall back to using the newest version it does ship. However
this causes linking system libraries to fail as they are built against a
different glibc version than the zig code is built against.
To remedy this, simply default to linking the system libc when targeting
the native OS/ABI.
Diffstat (limited to 'lib/std/priority_queue.zig')
0 files changed, 0 insertions, 0 deletions
