diff options
author | 2016-08-01 17:01:20 +0000 | |
---|---|---|
committer | 2016-08-02 07:33:14 +0000 | |
commit | 8f931174ec06d66f92c9c19b284ae57d8cf19c5f (patch) | |
tree | 40a901889358705ac73a220f917e62f5b6c33839 /src/main/java/com/google | |
parent | 28e92719508c04e882b55274adaf2e2735cc722d (diff) |
Fixes bug where --noenforce_constraints wasn't propagating to host configurations.
Even though standard constraint checking skips target -> host deps anyway,
it *doesn't* skip host -> host deps.
--
MOS_MIGRATED_REVID=128995987
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java b/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java index af0674ade6..c7a068b5a1 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java @@ -862,6 +862,7 @@ public final class BuildConfiguration { host.compilationMode = CompilationMode.OPT; host.isHost = true; host.useDynamicConfigurations = useDynamicConfigurations; + host.enforceConstraints = enforceConstraints; if (fallback) { // In the fallback case, we have already tried the target options and they didn't work, so |