rules_cc/cc
Googler d545fa4f79 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
Change-Id: I81b9ee0c72e2a2252b406f1c584997389a530e40
2020-03-06 05:45:05 -08:00
..
private C++: Move default linker flags with libs after libraries 2020-03-06 05:45:05 -08:00
BUILD Add //cc:srcs filegroup that Bazel can depend on in unittests 2019-11-07 02:27:13 -08:00
action_names.bzl C++: Move tools/cpp from bazel_tools to rules_cc 2019-08-21 07:30:04 -07:00
cc_toolchain_config_lib.bzl Fix buildifier warnings in @rules_cc 2019-10-24 07:01:25 -07:00
defs.bzl Fix immutable frozen set bug in defs.bzl 2019-11-29 04:19:02 -08:00
find_cc_toolchain.bzl Fix typo 2019-11-04 09:38:06 +01:00
repositories.bzl Merge pull request #45 from hlopko:fix_cc_configure 2019-11-05 06:40:31 -08:00
toolchain_utils.bzl Fix buildifier warnings in @rules_cc 2019-10-24 07:01:25 -07:00
version.bzl Add version number to a dedicated bzl file 2019-10-02 15:25:05 +02:00