aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2015-08-11 16:10:10 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-08-12 15:22:05 +0000
commit3e791009408bcae7f52ba4ae84a14c6c2460fed1 (patch)
tree40f3db3ec8244e325f81c8da1e86372af5af3128 /src/main/java/com/google
parent2f71fd77a8b75f8adc95a817466bd1787a22b3dc (diff)
Remove -fprofile-dir flag from clang flags.
xcode 6.4 upgrades clang from 6.0 to 6.1, which no longer needs this flag. -- MOS_MIGRATED_REVID=100383635
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java b/src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java
index 55ed996395..4aadc81b36 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java
@@ -81,9 +81,10 @@ final class CompilationSupport {
static final ImmutableList<String> LINKER_COVERAGE_FLAGS =
ImmutableList.of("-ftest-coverage", "-fprofile-arcs");
+ // Flags for clang 6.1(xcode 6.4)
@VisibleForTesting
static final ImmutableList<String> CLANG_COVERAGE_FLAGS =
- ImmutableList.of("-fprofile-arcs", "-ftest-coverage", "-fprofile-dir=./coverage_output");
+ ImmutableList.of("-fprofile-arcs", "-ftest-coverage");
private static final String FRAMEWORK_SUFFIX = ".framework";