summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-25 13:12:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-02-25 13:13:44 (GMT)
commit40768761b65e7644674f894a9dfff05c06515d72 (patch)
tree52df1ae2dc329bed144dc91e6c3890d2adb2112a /Source/cmGlobalGenerator.cxx
parenta6cb73b97f60b6cc09b9ccf80a65662ce41a5627 (diff)
parent214fcefa5233fb9c5906921f72d067626a51a349 (diff)
downloadCMake-40768761b65e7644674f894a9dfff05c06515d72.zip
CMake-40768761b65e7644674f894a9dfff05c06515d72.tar.gz
CMake-40768761b65e7644674f894a9dfff05c06515d72.tar.bz2
Merge topic 'drop-MIPSpro'
214fcefa52 Remove now-unused code once used for MIPSpro on IRIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3004
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 57cb997..8107a07 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1860,13 +1860,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 &&