diff options
| author | gingerBill <bill@gingerbill.org> | 2019-12-29 21:10:27 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-12-29 21:10:27 +0000 |
| commit | 2252d992d79a39c0c9d1ad0eeb312b6e75195f8f (patch) | |
| tree | 56e95fca5a4b83d0132eb3f38f434908395d2d96 /src/build_settings.cpp | |
| parent | 2d70a784d16c5fa10f830e12c138f275ae5bb018 (diff) | |
Add `-disable-assert` to disable the code generation of the built-in run-time 'assert' procedure
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 4b76106bd..046c3edab 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -91,6 +91,7 @@ struct BuildContext { String ODIN_VERSION; // compiler version String ODIN_ROOT; // Odin ROOT bool ODIN_DEBUG; // Odin in debug mode + bool ODIN_DISABLE_ASSERT; // Whether the default 'assert' et al is disabled in code or not TargetEndianKind endian_kind; |