Add libm linkage to toolchains

PiperOrigin-RevId: 513350744
pull/12107/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent 5888882691
commit af791f28a8
  1. 1
      toolchain/cc_toolchain_config.bzl

@ -98,6 +98,7 @@ def _impl(ctx):
flags = [
"-B" + ctx.attr.linker_path,
"-lstdc++",
"-lm",
"--target=" + ctx.attr.target_full_name,
] + ctx.attr.extra_linker_flags,
),

Loading…
Cancel
Save