Add libm linkage to toolchains

PiperOrigin-RevId: 513350744
pull/12107/head
Mike Kruskal 2023-03-01 14:59:04 -08:00 committed by Copybara-Service
parent 5888882691
commit af791f28a8
1 changed files with 1 additions and 0 deletions

View File

@ -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,
),