diff options
author | Ulf Adams <ulfjack@google.com> | 2016-08-29 14:48:47 +0000 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2016-08-29 15:37:35 +0000 |
commit | e0437b167ad7ea57c985a2fe63c1e22b4e7fb23a (patch) | |
tree | 64b3ca09b466f544ee2ddab2ea26a200724a62a2 /src/main/java/com/google/devtools/build/lib/analysis/config | |
parent | ae83197e8114d687e6bf7edf3507684b8b8c4aca (diff) |
Remove BINMODE make variable. Use COMPILATION_MODE instead.
--
MOS_MIGRATED_REVID=131591324
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/config')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java | 8 |
1 files changed, 0 insertions, 8 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 921f1b878a..4340be6eb2 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 @@ -1300,15 +1300,7 @@ public final class BuildConfiguration { fragment.addGlobalMakeVariables(globalMakeEnvBuilder); } - // Lots of packages in third_party assume that BINMODE expands to either "-dbg", or "-opt". So - // for backwards compatibility we preserve that invariant, setting BINMODE to "-dbg" rather than - // "-fastbuild" if the compilation mode is "fastbuild". - // We put the real compilation mode in a new variable COMPILATION_MODE. globalMakeEnvBuilder.put("COMPILATION_MODE", options.compilationMode.toString()); - globalMakeEnvBuilder.put("BINMODE", "-" - + ((options.compilationMode == CompilationMode.FASTBUILD) - ? "dbg" - : options.compilationMode.toString())); /* * Attention! Document these in the build-encyclopedia */ |