feat: Start using ld64 for macos builds, b=no-bug, c=configs, compact-mode

This commit is contained in:
mr. m
2026-01-05 13:31:08 +01:00
parent be8cbce23e
commit ea7024aae4
3 changed files with 23 additions and 20 deletions

View File

@@ -43,8 +43,8 @@ else
# TODO: We'll want to switch to aarch64-apple-macos eventually.
export CFLAGS="$CFLAGS -mcpu=apple-m1"
export CXXFLAGS="$CXXFLAGS -mcpu=apple-m1"
# Keep using ld64 on PGO/LTO builds because of performance regressions when using lld.
ac_add_options --enable-linker=ld64
fi
fi
# Keep using ld64 on PGO/LTO builds because of performance regressions when using lld.
ac_add_options --enable-linker=ld64