From abc717f203060f7ab16d36f2afe681d838b46801 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 22 Nov 2020 17:28:11 -0700 Subject: 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. --- src/libunwind.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libunwind.zig') 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, -- cgit v1.2.3