summaryrefslogtreecommitdiff
path: root/absl/base/attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base/attributes.h')
-rw-r--r--absl/base/attributes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/base/attributes.h b/absl/base/attributes.h
index a4ec7e7c..b1883b6d 100644
--- a/absl/base/attributes.h
+++ b/absl/base/attributes.h
@@ -52,7 +52,8 @@
// Example:
//
// // Enable branches in the Abseil code that are tagged for ASan:
-// $ bazel -D ADDRESS_SANITIZER -fsanitize=address *target*
+// $ bazel build --copt=-DADDRESS_SANITIZER --copt=-fsanitize=address
+// --linkopt=-fsanitize=address *target*
//
// Since these macro names are only supported by GCC and Clang, we only check
// for `__GNUC__` (GCC or Clang) and the above macros.