diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 1538101..32db864 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -851,7 +851,7 @@ "moduleExtensions": { "//:extensions.bzl%arm_toolchain": { "general": { - "bzlTransitiveDigest": "4DuJK6/ndJVyOcV6Amk1hmFh/FsSO0YOLrT01McMGP8=", + "bzlTransitiveDigest": "TpZ5AbabytNulHOsemtyg+2lHFa6IoApz/mc5x0APvc=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { diff --git a/toolchain/toolchain.bzl b/toolchain/toolchain.bzl index 3aed0d0..7e691cb 100644 --- a/toolchain/toolchain.bzl +++ b/toolchain/toolchain.bzl @@ -67,8 +67,8 @@ def _arm_gnu_toolchain( for host, exec_compatible_with in hosts[toolchain_prefix].items(): fix_linkopts = [] - # macOS on apple silicon rejects the relative path LTO plugin - if version == "13.2.1" and host == "darwin_arm64": + # macOS on apple rejects the relative path LTO plugin + if version == "13.2.1" and "darwin" in host: fix_linkopts.append("-fno-lto") cc_arm_gnu_toolchain_config(