diff options
author | 2017-08-31 11:59:32 +0200 | |
---|---|---|
committer | 2017-08-31 13:45:53 +0200 | |
commit | 9e3b8da34602e0e4286fa45380fec884c1464500 (patch) | |
tree | 994d0f819a33374a67f5204e155caf8b0409c573 | |
parent | c3b0c8bef055e86d68ee819b6ba606e64e84fccd (diff) |
Update 'copts' documentation
Fixed #556
RELNOTES: None.
PiperOrigin-RevId: 167115644
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java index 2b4666a781..12737d9d51 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java @@ -165,7 +165,8 @@ public class BazelCppRuleClasses { <p> Each string in this attribute is added in the given order to <code>COPTS</code> before compiling the binary target. The flags take effect only for compiling this target, not - its dependencies, so be careful about header files included elsewhere. + its dependencies, so be careful about header files included elsewhere. All paths should + be relative to the workspace, not to the current package. </p> <p> If the package declares the <a href="${link package.features}">feature</a> |