Skip to content

Commit 1521dda

Browse files
committed
Move option to .bazelrc
1 parent 41ecd46 commit 1521dda

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ common --incompatible_config_setting_private_default_visibility
2626
# Link Google Test against Abseil and RE2.
2727
build --define='absl=1'
2828

29+
# https://github.com/bazelbuild/bazel/pull/26294
30+
build --experimental_cc_static_library
31+
2932
# AllocationGuard.CooperativeDeathTest checks for "SIGABRT received"
3033
# message printed by this signal handler.
3134
test --test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1"

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ vendored library will work in your environment. Then build the
263263
standalone bazel target:
264264

265265
```
266-
tcmalloc$ bazel build tcmalloc:tcmalloc_standalone --experimental_cc_static_library
266+
tcmalloc$ bazel build tcmalloc:tcmalloc_standalone
267267
```
268268

269269
Once this builds you can copy the resulting static library from

0 commit comments

Comments
 (0)