| author | |
| committer | |
| log | a959e98273110fb656a96b1ce22ef400fdcc3c0e |
| tree | ba9320f5d3f7ab1dc38b7f6de8b32435022efbf1 |
| parent | 4b91e4c91fae760f30becbafaf28befef832ecf5 |
| signature | Commit is signed but in an unrecognized format. |
Related: #32371 files changed, 0 insertions(+), 2 deletions(-)
src/codegen.cpp-2| ... | ... | @@ -8375,8 +8375,6 @@ static bool detect_dynamic_link(CodeGen *g) { |
| 8375 | 8375 | return true; |
| 8376 | 8376 | if (g->zig_target->os == OsFreestanding) |
| 8377 | 8377 | return false; |
| 8378 | if (target_requires_pic(g->zig_target, g->libc_link_lib != nullptr)) | |
| 8379 | return true; | |
| 8380 | 8378 | // If there are no dynamic libraries then we can disable PIC |
| 8381 | 8379 | for (size_t i = 0; i < g->link_libs_list.length; i += 1) { |
| 8382 | 8380 | LinkLib *link_lib = g->link_libs_list.at(i); |