Skip to content

Commit

Permalink
linkopts
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored and fmeum committed Dec 20, 2024
1 parent 3ef3e4f commit 3387887
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 @@ -273,6 +273,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 3387887

Please sign in to comment.