diff options
author | 2017-09-15 16:47:31 +0200 | |
---|---|---|
committer | 2017-09-18 11:26:59 +0200 | |
commit | a22fb12669743bdfb78dfbf71a63db898f026dce (patch) | |
tree | 607ca980605626243dab3ecd6a7d07f1bca7f6b4 /tools/cpp/CROSSTOOL | |
parent | 394211bf88b88c25036429e99894fa7c60eaaace (diff) |
Automated rollback of commit f26e8694ae78599b3e2004e3360eaf3443fa53a6.
*** Reason for rollback ***
Breaks clang_tidy.
*** Original change description ***
Introduce -c source_file -o output_file build variables
Prior to this cl CompileCommandLine would (almost) unconditionally emit -c and
-o flags. This cl removes this logic and relies on crosstool to emit these
flags. This is another small step towards platform independent C++ rules.
Memory use is not affected, since the build variables used by this cl are already
exposed, this cl just forces crosstools to use it.
RELNOTES: None.
PiperOrigin-RevId: 168834576
Diffstat (limited to 'tools/cpp/CROSSTOOL')
-rw-r--r-- | tools/cpp/CROSSTOOL | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL index 2588c3a4b7..0a96846be1 100644 --- a/tools/cpp/CROSSTOOL +++ b/tools/cpp/CROSSTOOL @@ -673,6 +673,11 @@ toolchain { name: 'random_seed' } + # This feature is just for enabling flag_set in action_config for -c and -o options during the transitional period + feature { + name: 'compile_action_flags_in_flag_set' + } + action_config { config_name: 'c-compile' action_name: 'c-compile' |