mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix link time error about missing -fPIC flag
This commit is contained in:
+1
-1
@@ -360,7 +360,7 @@ int main(int argc, char **argv) {
|
|||||||
timings_start_section(&timings, str_lit("llvm-llc"));
|
timings_start_section(&timings, str_lit("llvm-llc"));
|
||||||
// For more arguments: http://llvm.org/docs/CommandGuide/llc.html
|
// For more arguments: http://llvm.org/docs/CommandGuide/llc.html
|
||||||
exit_code = system_exec_command_line_app("llc", false,
|
exit_code = system_exec_command_line_app("llc", false,
|
||||||
"llc \"%.*s.bc\" -filetype=obj -O%d "
|
"llc \"%.*s.bc\" -filetype=obj -relocation-model=pic -O%d "
|
||||||
"%.*s "
|
"%.*s "
|
||||||
// "-debug-pass=Arguments "
|
// "-debug-pass=Arguments "
|
||||||
"",
|
"",
|
||||||
|
|||||||
Reference in New Issue
Block a user