diff options
| author | gingerBill <bill@gingerbill.org> | 2020-06-03 13:12:38 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-06-03 13:12:38 +0100 |
| commit | 626b4740b148a86f2ed484528e08981e86ea4dea (patch) | |
| tree | 36043e6cdc36b8ef1df666676bcd9cab69250f64 /src/build_settings.cpp | |
| parent | 8589af14585c1f0b1f8ad9f1c66669ede740a79d (diff) | |
Add `wasm-ld` support for wasm code generation
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index c2f35f221..c3cf1e808 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -684,7 +684,7 @@ void init_build_context(TargetMetrics *cross_target) { break; } } else if (bc->metrics.arch == TargetArch_wasm32) { - + bc->link_flags = str_lit("--no-entry --export-table --export-all --allow-undefined "); } else { gb_printf_err("Compiler Error: Unsupported architecture\n");; gb_exit(1); |