Commit rest of code for -disallow-rtti

This commit is contained in:
gingerBill
2022-02-28 13:39:27 +00:00
parent 01162e08b5
commit 278e239973
11 changed files with 95 additions and 19 deletions

View File

@@ -277,6 +277,8 @@ struct BuildContext {
bool copy_file_contents;
bool disallow_rtti;
RelocMode reloc_mode;
bool disable_red_zone;
@@ -946,7 +948,6 @@ void init_build_context(TargetMetrics *cross_target) {
}
}
bc->copy_file_contents = true;
TargetMetrics *metrics = nullptr;