aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-02-16 14:40:43 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2017-02-16 16:57:04 +0000
commit7914e1457ec3f3fa8cf28800a59e285e26890f6c (patch)
treee27f32b8a8508174edc7b25b2f4558deabe946b3 /src
parentd6b5a2d6274b4d2c28e978b40bb08af8c9f37a86 (diff)
Activate the "dbg", "fastbuild", and "opt" features in the objc CROSSTOOL.
RELNOTES: Activate the "dbg", "fastbuild", and "opt" features in the objc CROSSTOOL. -- PiperOrigin-RevId: 147714395 MOS_MIGRATED_REVID=147714395
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/CrosstoolCompilationSupport.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/CrosstoolCompilationSupport.java b/src/main/java/com/google/devtools/build/lib/rules/objc/CrosstoolCompilationSupport.java
index 862deed47b..60f0817478 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/CrosstoolCompilationSupport.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/CrosstoolCompilationSupport.java
@@ -327,7 +327,8 @@ public class CrosstoolCompilationSupport extends CompilationSupport {
.add(CppRuleClasses.ONLY_DOTH_HEADERS_IN_MODULE_MAPS)
.add(CppRuleClasses.COMPILE_ACTION_FLAGS_IN_FLAG_SET)
.add(CppRuleClasses.DEPENDENCY_FILE)
- .add(CppRuleClasses.INCLUDE_PATHS);
+ .add(CppRuleClasses.INCLUDE_PATHS)
+ .add(configuration.getCompilationMode().toString());
if (ruleContext.getConfiguration().getFragment(ObjcConfiguration.class).moduleMapsEnabled()) {
activatedCrosstoolSelectables.add(OBJC_MODULE_FEATURE_NAME);