We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b91e4c commit a959e98Copy full SHA for a959e98
src/codegen.cpp
@@ -8375,8 +8375,6 @@ static bool detect_dynamic_link(CodeGen *g) {
8375
return true;
8376
if (g->zig_target->os == OsFreestanding)
8377
return false;
8378
- if (target_requires_pic(g->zig_target, g->libc_link_lib != nullptr))
8379
- return true;
8380
// If there are no dynamic libraries then we can disable PIC
8381
for (size_t i = 0; i < g->link_libs_list.length; i += 1) {
8382
LinkLib *link_lib = g->link_libs_list.at(i);
0 commit comments