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
+2 -2
View File
@@ -150,8 +150,8 @@ func Build(pkgName, outpath, tmpdir string, config *compileopts.Config) (BuildRe
var libcJob *compileJob
switch config.Target.Libc {
case "darwin-libSystem":
job := makeDarwinLibSystemJob(config, tmpdir)
libcDependencies = append(libcDependencies, job)
libcJob = makeDarwinLibSystemJob(config, tmpdir)
libcDependencies = append(libcDependencies, libcJob)
case "musl":
var unlock func()
libcJob, unlock, err = libMusl.load(config, tmpdir, nil)