diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2017-06-06 09:47:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-06 09:47:40 +0100 |
| commit | 88b990eb63633fcebd772f49fddb4f3848c67212 (patch) | |
| tree | 70ff51212a754b9f5ddc2cad81646902880f5b4a /src | |
| parent | d2e7d730ac88bf0ce4f9c823085d7880c30db01e (diff) | |
| parent | d05ec5e484a5af29c532161e1cd9edd1932e7f1d (diff) | |
Merge pull request #53 from ghost/master
Fix link time error about missing -fPIC flag
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index d55278a75..eb5a5a220 100644 --- a/src/main.c +++ b/src/main.c @@ -359,7 +359,7 @@ int main(int argc, char **argv) { timings_start_section(&timings, str_lit("llvm-llc")); // For more arguments: http://llvm.org/docs/CommandGuide/llc.html 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 " // "-debug-pass=Arguments " "", |