diff options
| author | gingerBill <bill@gingerbill.org> | 2023-06-14 12:07:04 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-06-14 12:07:04 +0100 |
| commit | 08e466938fa65dc069041604e4741f90001f4d79 (patch) | |
| tree | 1e397fbec5e499476c91e5c03a0d8f8d040eca9a /src/build_settings.cpp | |
| parent | 420f93ce7853902bff8c69707efafb67626c585b (diff) | |
| parent | e036155bdb391c097b91415f730754784ce6f38c (diff) | |
Merge branch 'master' into new-io
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 92e0df38b..866631f9a 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -309,7 +309,7 @@ struct BuildContext { bool copy_file_contents; - bool disallow_rtti; + bool no_rtti; bool dynamic_map_calls; @@ -1227,8 +1227,8 @@ gb_internal void init_build_context(TargetMetrics *cross_target) { if (bc->metrics.os == TargetOs_freestanding) { bc->no_entry_point = true; } else { - if (bc->disallow_rtti) { - gb_printf_err("-disallow-rtti is only allowed on freestanding targets\n"); + if (bc->no_rtti) { + gb_printf_err("-no-rtti is only allowed on freestanding targets\n"); gb_exit(1); } } |