diff options
Diffstat (limited to 'builder/lld.cpp')
-rw-r--r-- | builder/lld.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/builder/lld.cpp b/builder/lld.cpp index 9231df9cf..5a9ad8a20 100644 --- a/builder/lld.cpp +++ b/builder/lld.cpp @@ -11,6 +11,11 @@ bool tinygo_link_elf(int argc, char **argv) { return lld::elf::link(args, false, llvm::outs(), llvm::errs()); } +bool tinygo_link_mingw(int argc, char **argv) { + std::vector<const char*> args(argv, argv + argc); + return lld::mingw::link(args, false, llvm::outs(), llvm::errs()); +} + bool tinygo_link_wasm(int argc, char **argv) { std::vector<const char*> args(argv, argv + argc); return lld::wasm::link(args, false, llvm::outs(), llvm::errs()); |