aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-08-14 01:00:30 +0200
committerGitHub <noreply@github.com>2025-08-14 01:00:30 +0200
commit27d6614f81dfddcbd05b2a0b4afb8db83eaafb0b (patch)
tree73ddf3bea763c5de29ef497d6e4319acd82fab36 /src/Compilation.zig
parentb87b9586878a95c281bf76c4cefc75a9a81f1865 (diff)
parentb7602a17f847ec9f24cfe0b6a1c458b13e04c6f6 (diff)
downloadzig-27d6614f81dfddcbd05b2a0b4afb8db83eaafb0b.tar.gz
zig-27d6614f81dfddcbd05b2a0b4afb8db83eaafb0b.zip
Merge pull request #24825 from alexrp/freebsd-fixes
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 9e217f14f3..435919fce9 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -6921,7 +6921,7 @@ pub fn addCCArgs(
// We don't currently respect the minor and patch components. This wouldn't be particularly
// helpful because our abilists file only tracks major FreeBSD releases, so the link-time stub
// symbols would be inconsistent with header declarations.
- min_ver.major * 100_000,
+ min_ver.major * 100_000 + 500,
}));
} else if (target.isNetBSDLibC()) {
const min_ver = target.os.version_range.semver.min;