From ea736a0792ba5493c6a38595fc16fd7ffe3bcfdf Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Fri, 17 Jun 2016 18:29:30 +0200
Subject: [PATCH] Revert "Check new GCC ABI in configure step and eventually
 fail configuration"

GCC5 ABI patch is in.
This reverts commit 9c2b6c38566283e573f500974a9b3e64787e2f13.
---
 cmake/modules/CheckCompiler.cmake | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/cmake/modules/CheckCompiler.cmake b/cmake/modules/CheckCompiler.cmake
index 896ca4ca10b..51e01905e31 100644
--- a/cmake/modules/CheckCompiler.cmake
+++ b/cmake/modules/CheckCompiler.cmake
@@ -1,7 +1,6 @@
 #---------------------------------------------------------------------------------------------------
 #  CheckCompiler.cmake
 #---------------------------------------------------------------------------------------------------
-include (CheckCXXSourceCompiles)
 
 #---Enable FORTRAN (unfortunatelly is not not possible in all cases)-------------------------------
 if(fortran)
@@ -53,15 +52,6 @@ if (CMAKE_COMPILER_IS_GNUCXX)
   endif()
   message(STATUS "Found GCC. Major version ${GCC_MAJOR}, minor version ${GCC_MINOR}")
   set(COMPILER_VERSION gcc${GCC_MAJOR}${GCC_MINOR}${GCC_PATCH})
-  CHECK_CXX_SOURCE_COMPILES("
-    #include <string>
-    #if _GLIBCXX_USE_CXX11_ABI
-    #error \"cling does not support GCC 5 ABI.\"
-    #endif
-    int main() {}" CXX_SUPPORTS_OLD_ABI)
-  if(NOT CXX_SUPPORTS_OLD_ABI)
-     message(FATAL_ERROR "Found GCC compiler with new ABI. Cling does not support the GCC 5 ABI yet")
-  endif()
 else()
   set(GCC_MAJOR 0)
   set(GCC_MINOR 0)
-- 
GitLab