summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-21 16:07:33 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-21 16:12:51 (GMT)
commit214fcefa5233fb9c5906921f72d067626a51a349 (patch)
tree266ca65c9cb929ce4ead869bbaa62d3a5645320b /Source/cmGlobalGenerator.cxx
parenteb08e68b77954a4b439ee66b4987789b213d878a (diff)
downloadCMake-214fcefa5233fb9c5906921f72d067626a51a349.zip
CMake-214fcefa5233fb9c5906921f72d067626a51a349.tar.gz
CMake-214fcefa5233fb9c5906921f72d067626a51a349.tar.bz2
Remove now-unused code once used for MIPSpro on IRIX
In commit beb991110d (Remove now-unused code once used on IRIX, 2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support. Also remove remnants of MIPSpro compiler support.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index fa0ffcc..48aa3db 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1862,13 +1862,6 @@ int cmGlobalGenerator::Build(int jobs, const std::string& /*unused*/,
output += *outputPtr;
cmSystemTools::SetRunCommandHideConsole(hideconsole);
- // The SGI MipsPro 7.3 compiler does not return an error code when
- // the source has a #error in it! This is a work-around for such
- // compilers.
- if ((retVal == 0) && (output.find("#error") != std::string::npos)) {
- retVal = 1;
- }
-
// The OpenWatcom tools do not return an error code when a link
// library is not found!
if (this->CMakeInstance->GetState()->UseWatcomWMake() && retVal == 0 &&