aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-12-11 23:02:35 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2020-12-13 00:40:35 +0100
commit1d8f33ca98493d63c509e0a23b8dc512f4d7b79f (patch)
treef81c326ceef3cb9a010f85af5092274d908381ad /src/link.zig
parent078a64f8d9b50ad99afe12ba3038afc3e68f507c (diff)
downloadzig-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/link.zig')
-rw-r--r--src/link.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig
index 40d5ff9a7f..c0e78f445f 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -71,6 +71,7 @@ pub const Options = struct {
z_defs: bool,
bind_global_refs_locally: bool,
is_native_os: bool,
+ is_native_abi: bool,
pic: bool,
pie: bool,
valgrind: bool,