diff options
| author | gingerBill <bill@gingerbill.org> | 2024-11-14 16:32:26 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-11-14 16:32:26 +0000 |
| commit | 21a25bddde9781a1e4c678e1c680435075d6080a (patch) | |
| tree | bbe95e2051213d38db3ae65e6b26bde06d6f7529 /src/build_settings.cpp | |
| parent | c440122d93240652000757bc4dfd232a69a47cef (diff) | |
Add `-radlink`
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 142076a70..d62d6598c 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -420,6 +420,7 @@ struct BuildContext { bool no_entry_point; bool no_thread_local; bool use_lld; + bool use_radlink; bool cross_compiling; bool different_os; bool keep_object_files; @@ -1871,7 +1872,7 @@ gb_internal bool init_build_paths(String init_filename) { return false; } - if (!build_context.use_lld && find_result.vs_exe_path.len == 0) { + if (!build_context.use_lld && !build_context.use_radlink && find_result.vs_exe_path.len == 0) { gb_printf_err("link.exe not found.\n"); return false; } |