diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-11 23:02:35 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-13 00:40:35 +0100 |
| commit | 1d8f33ca98493d63c509e0a23b8dc512f4d7b79f (patch) | |
| tree | f81c326ceef3cb9a010f85af5092274d908381ad /src/libcxx.zig | |
| parent | 078a64f8d9b50ad99afe12ba3038afc3e68f507c (diff) | |
| download | zig-1d8f33ca98493d63c509e0a23b8dc512f4d7b79f.tar.gz zig-1d8f33ca98493d63c509e0a23b8dc512f4d7b79f.zip | |
stage2: link musl dynamically by default if native
If targeting the native OS and the system libc is musl, link against it
dynamically by default.
Diffstat (limited to 'src/libcxx.zig')
| -rw-r--r-- | src/libcxx.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcxx.zig b/src/libcxx.zig index 9c5ec93776..39ec776659 100644 --- a/src/libcxx.zig +++ b/src/libcxx.zig @@ -175,6 +175,7 @@ pub fn buildLibCXX(comp: *Compilation) !void { .emit_h = null, .strip = comp.bin_file.options.strip, .is_native_os = comp.bin_file.options.is_native_os, + .is_native_abi = comp.bin_file.options.is_native_abi, .self_exe_path = comp.self_exe_path, .c_source_files = c_source_files.items, .verbose_cc = comp.verbose_cc, @@ -293,6 +294,7 @@ pub fn buildLibCXXABI(comp: *Compilation) !void { .emit_h = null, .strip = comp.bin_file.options.strip, .is_native_os = comp.bin_file.options.is_native_os, + .is_native_abi = comp.bin_file.options.is_native_abi, .self_exe_path = comp.self_exe_path, .c_source_files = &c_source_files, .verbose_cc = comp.verbose_cc, |
