mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
add missing pic
This commit is contained in:
parent
67bee420e9
commit
6b54e09565
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ fn generateLlvmIrFile(
|
|||
step_name: []const u8,
|
||||
object_name: []const u8,
|
||||
) void {
|
||||
const obj = b.addObject(.{ .strip = true, .name = object_name, .root_source_file = main_path, .optimize = mode, .target = target, .use_llvm = true });
|
||||
const obj = b.addObject(.{ .strip = true, .pic = true, .name = object_name, .root_source_file = main_path, .optimize = mode, .target = target, .use_llvm = true });
|
||||
|
||||
obj.root_module.stack_check = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue