diff options
author | Manuel Klimek <klimek@google.com> | 2015-08-10 15:58:04 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2015-08-11 07:51:35 +0000 |
commit | 37eca0365bb790da7e9ed72482bdd742e0025c7a (patch) | |
tree | 44ad4695457a28159450d5ce6dbf0f4383b15a85 /src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java | |
parent | b8094c10861cabb00a3f0775dc804d3e059c49d5 (diff) |
Convert the coverage flags to use the feature configuration.
--
MOS_MIGRATED_REVID=100281959
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java index 5da414f134..b9a4fb90ee 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java @@ -668,10 +668,6 @@ public final class LinkCommandLine extends CommandLine { argv.addAll(cppConfiguration.getTestOnlyLinkOptions()); } - if (configuration.isCodeCoverageEnabled()) { - argv.add("-lgcov"); - } - if (linkTargetType == LinkTargetType.EXECUTABLE && cppConfiguration.forcePic()) { argv.add("-pie"); } |