diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-11-22 17:28:11 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-11-22 17:28:11 -0700 |
| commit | abc717f203060f7ab16d36f2afe681d838b46801 (patch) | |
| tree | bc15d848e784a0a19e24ec3d6645585550bd0432 /src/libunwind.zig | |
| parent | 55ab50efbd5e475442ac9c3b841e461ee331ee2c (diff) | |
| download | zig-abc717f203060f7ab16d36f2afe681d838b46801.tar.gz zig-abc717f203060f7ab16d36f2afe681d838b46801.zip | |
modernize the PIE patch for the latest master branch
This is the part of #3960 that has to be rewritten to apply to latest
master branch code.
Diffstat (limited to 'src/libunwind.zig')
| -rw-r--r-- | src/libunwind.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libunwind.zig b/src/libunwind.zig index d47eed40dd..3607488aba 100644 --- a/src/libunwind.zig +++ b/src/libunwind.zig @@ -104,6 +104,7 @@ pub fn buildStaticLib(comp: *Compilation) !void { .want_stack_check = false, .want_valgrind = false, .want_pic = comp.bin_file.options.pic, + .want_pie = comp.bin_file.options.pie, .emit_h = null, .strip = comp.bin_file.options.strip, .is_native_os = comp.bin_file.options.is_native_os, |
