diff --git a/bazel/toolchain/BUILD.bazel b/bazel/toolchain/BUILD.bazel index 56e74ad6a..ba8d947ca 100644 --- a/bazel/toolchain/BUILD.bazel +++ b/bazel/toolchain/BUILD.bazel @@ -83,6 +83,7 @@ cc_args( "-nostdlib++", "-nostartfiles", "-Wl,-lc++", + "-Wl,-lm", ], visibility = ["//visibility:private"], )