mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Force PIC when building Zig builtins
This commit is contained in:
parent
44e48e1415
commit
9a7877cf29
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ fn generateObjectFile(
|
||||||
obj.strip = true;
|
obj.strip = true;
|
||||||
obj.target = target;
|
obj.target = target;
|
||||||
obj.link_function_sections = true;
|
obj.link_function_sections = true;
|
||||||
|
obj.force_pic = true;
|
||||||
const obj_step = b.step(step_name, "Build object file for linking");
|
const obj_step = b.step(step_name, "Build object file for linking");
|
||||||
obj_step.dependOn(&obj.step);
|
obj_step.dependOn(&obj.step);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue