aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
diff options
context:
space:
mode:
authorGravatar Yun Peng <pcloudy@google.com>2016-06-08 14:37:29 +0000
committerGravatar Yun Peng <pcloudy@google.com>2016-06-08 15:58:13 +0000
commitfa878df99618bfc59a5ff733871e266e9e3f3fd1 (patch)
treebfc63fcfdaca58d42a1c75ea620a05f62bb96a00 /src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
parent6e3e48ee51e8174f89da853d3618baa87d7ae812 (diff)
Move -c and -o options into action_config
Also moved -S and -E options into the same action_config. Since whoever consume CppCompileInfo add -c and -o options by themselves, to keep compatible with this, the original code is still kept and used, until the corresponding flag sets are added into CROSSTOOL. -- MOS_MIGRATED_REVID=124350905
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
index a7b1c3f64b..a83f9b85ec 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
@@ -83,6 +83,7 @@ public final class CcCommon {
* Features we request to enable unless a rule explicitly doesn't support them.
*/
private static final ImmutableSet<String> DEFAULT_FEATURES = ImmutableSet.of(
+ CppRuleClasses.COMPILE_ACTION_FLAGS_IN_FLAG_SET,
CppRuleClasses.RANDOM_SEED,
CppRuleClasses.MODULE_MAPS,
CppRuleClasses.MODULE_MAP_HOME_CWD,