| author | |
| committer | |
| log | 364bc66924648c798d9eb5f70607ba8a5fb991d6 |
| tree | 3279ba5d4d6402e02bc2e8f5f94603c3c15f0a09 |
| parent | cd211bcc20d3d1ddd1a50d57c7645aa3445934f0 |
| parent | 24bbade217ed814bd6c4d94ed93442824b7153a4 |
| signature | Signed by PGP key 4AEE18F83AFDEB23 |
fix build-exe for --target-arch wasm32 (#1570)1 files changed, 1 insertions(+), 1 deletions(-)
src/link.cpp+1-1| ... | ... | @@ -386,7 +386,7 @@ static void construct_linker_job_elf(LinkJob *lj) { |
| 386 | 386 | static void construct_linker_job_wasm(LinkJob *lj) { |
| 387 | 387 | CodeGen *g = lj->codegen; |
| 388 | 388 | |
| 389 | lj->args.append("--relocatable"); // So lld doesn't look for _start. | |
| 389 | lj->args.append("--no-entry"); // So lld doesn't look for _start. | |
| 390 | 390 | lj->args.append("-o"); |
| 391 | 391 | lj->args.append(buf_ptr(&g->output_file_path)); |
| 392 | 392 |