aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-05-26 20:38:04 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-05-26 20:38:04 +0200
commit0f0d69ea4c4fe6efa9d9e9cdf97f571e9dce8f82 (patch)
treef618d390ddfad3ebac73e8fbfc11b95b77bebe67 /base
parent725cc53c6586633d34afb08b4070bb2e9bacb677 (diff)
Clarify Darwin minimum OS version
Diffstat (limited to 'base')
-rw-r--r--base/builtin/builtin.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/builtin/builtin.odin b/base/builtin/builtin.odin
index 7b38b25e7..88ca2a2dc 100644
--- a/base/builtin/builtin.odin
+++ b/base/builtin/builtin.odin
@@ -95,7 +95,7 @@ ODIN_MICROARCH_STRING :: ODIN_MICROARCH_STRING
/*
An `int` value representing the minimum OS version given to the linker, calculated as `major * 10_000 + minor * 100 + revision`.
- If not set using the `-minimum-os-version` command line switch, it defaults to `0`.
+ If not set using the `-minimum-os-version` command line switch, it defaults to `0`, except on Darwin, where it's `11_00_00`.
*/
ODIN_MINIMUM_OS_VERSION :: ODIN_MINIMUM_OS_VERSION
@@ -169,8 +169,8 @@ ODIN_TEST :: ODIN_TEST
ODIN_TILDE :: ODIN_TILDE
/*
- `true` if the `-use-separate-modules` command line switch is passed,
- which builds each package into its own object file, and then links them together, instead of performing a unity build.
+ `true` by default, false if the `-use-single-module` command line switch to force a unity build is provided.
+ By default each package is built into its own object file, and then linked together, instead of performing a unity build.
*/
ODIN_USE_SEPARATE_MODULES :: ODIN_USE_SEPARATE_MODULES