Change -lgcov with --coverage
in Bazel osx CROSSTOOL. -lgcov is not supported on macOS. See
RELNOTES: None.
@@ -870,7 +870,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -2531,7 +2531,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -4199,7 +4199,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -5870,7 +5870,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -7569,7 +7569,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -9237,7 +9237,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -10893,7 +10893,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -12552,7 +12552,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -14239,7 +14239,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
@@ -15896,7 +15896,7 @@ toolchain {
action: "c++-link-nodeps-dynamic-library"
action: "c++-link-executable"
flag_group {
- flag: "-lgcov"
+ flag: "--coverage"
}
}
requires {
