darwin: support Boehm GC (and use by default)

This mostly required some updates to macos-minimal-sdk to add the needed
header files and symbols.
This commit is contained in:
Ayke van Laethem
2025-03-22 13:36:09 +01:00
committed by Ron Evans
parent c1c074f170
commit 95a7d065ca
5 changed files with 20 additions and 6 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ func defaultTarget(options *Options) (*TargetSpec, error) {
llvmvendor := "unknown"
switch options.GOOS {
case "darwin":
spec.GC = "precise"
spec.GC = "boehm"
platformVersion := "10.12.0"
if options.GOARCH == "arm64" {
platformVersion = "11.0.0" // first macosx platform with arm64 support