Skip to content

Commit

Permalink
linkopts
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Oct 11, 2024
1 parent e99de56 commit 9bbf559
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions toolchain/cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ def cc_toolchain_config(
"-std=" + cxx_standard,
"-stdlib=libstdc++",
]

link_flags.extend([
"-lstdc++",
])
elif stdlib == "stdc++":
cxx_flags = [
"-std=" + cxx_standard,
Expand Down

0 comments on commit 9bbf559

Please sign in to comment.