Revert "Подключение добавленной в GCC 10 опции -fanalyzer"

This reverts commit 48fff012d0.
This commit is contained in:
Andrei Astafev 2020-04-18 20:39:37 +03:00
parent 48fff012d0
commit a1765526f8

View File

@ -113,16 +113,6 @@ if(CMAKE_CXX_COMPILER_IS_GCC)
# Let's just disable the warning for now.
check_enable_cxx_flag(-Wno-attributes)
endif()
set(CMAKE_REQUIRED_QUIET TRUE)
check_cxx_compiler_flag(-fanalyzer ANALYZER_GCC_FLAG)
unset(CMAKE_REQUIRED_QUIET)
if(ANALYZER_GCC_FLAG)
option(CMLIB_ENABLE_GCC_ANALYZER "Enable GCC -fanalyzer option" OFF)
if(CMLIB_ENABLE_GCC_ANALYZER)
add_compile_options("-fanalyzer")
endif()
endif()
endif()
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "e2k")