Commit a545719f authored by Eduardo Souza's avatar Eduardo Souza

Set relocation mode.

parent 025f5216
Pipeline #5500 canceled with stages
......@@ -1816,6 +1816,8 @@ unsafe fn generate_llvm_asm(
let mut llc = Command::new(get_llvm_compiler());
// position independent code
llc.arg("-relocation-model=pic");
llc.arg("-filetype=asm");
llc.arg(output_command);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment