Skip to content

Commit

Permalink
Don't use the soon-to-be deprecated --legacy_whole_archive flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuetschard committed May 10, 2019
1 parent ab8a9f5 commit 1b83fdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ build --define GAPID_BUILD_NUMBER=0 --define GAPID_BUILD_SHA=developer

# Without this, bazel wraps each cc_library with "--whole-archive" flags for the
# linker when building the dynamic library, which leads to over-bloated libs.
build --nolegacy_whole_archive
# TODO: Remove, once default is flipped: https://github.com/bazelbuild/bazel/issues/7362.
build --incompatible_remove_legacy_whole_archive

# Sets the go +build tags to use during compilation.
build --define gotags=analytics,crashreporting
Expand Down

0 comments on commit 1b83fdf

Please sign in to comment.