commit | 906f5f1c233ca18c67a9cedd2c7182f33b88c44b | [log] [tgz] |
---|---|---|
author | plf <plf@google.com> | Fri Mar 06 05:44:46 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 06 05:45:57 2020 -0800 |
tree | 08faa8551091052999ebe6cc267beee3e818a2da | |
parent | a4cc4231a8cbda9ef39b6f8a32c408a4bfd5f293 [diff] |
C++: Move default linker flags with libs after libraries Default linker flags contains flags like -lstdc++ which should come after the user libraries. The library flags are removed from default linker flags and added to link_libs instead which comes after user libraries. See #9254 Incompatible flag bug: https://github.com/bazelbuild/bazel/issues/10905 I introduce a new method to repositories ctx that allows checking the value of a Starlark semantic option from a repository rule. RELNOTES:none PiperOrigin-RevId: 299336105
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md