Skip to content

Commit 9bbf559

Browse files
committed
linkopts
1 parent e99de56 commit 9bbf559

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

toolchain/cc_toolchain_config.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ def cc_toolchain_config(
249249
"-std=" + cxx_standard,
250250
"-stdlib=libstdc++",
251251
]
252+
253+
link_flags.extend([
254+
"-lstdc++",
255+
])
252256
elif stdlib == "stdc++":
253257
cxx_flags = [
254258
"-std=" + cxx_standard,

0 commit comments

Comments
 (0)