diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-04-26 15:28:47 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-04-26 15:30:52 -0400 |
| commit | 6aeceec1f28ec4717af0659974d994cf1205915e (patch) | |
| tree | ade5f3b1f8f1386af11cc981e358a34ed36f005e /src/codegen.cpp | |
| parent | 28c31a8429f513f2d0e04ff5193faa8147721b19 (diff) | |
| download | zig-6aeceec1f28ec4717af0659974d994cf1205915e.tar.gz zig-6aeceec1f28ec4717af0659974d994cf1205915e.zip | |
add CLI option -Bsymbolic for binding global references locally
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 1b7d8e7013..bb189075be 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -10685,6 +10685,7 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) { cache_buf_opt(ch, g->linker_optimization); cache_int(ch, g->linker_gc_sections); cache_int(ch, g->linker_allow_shlib_undefined); + cache_int(ch, g->linker_bind_global_refs_locally); cache_bool(ch, g->linker_z_nodelete); cache_bool(ch, g->linker_z_defs); cache_usize(ch, g->stack_size_override); |
