mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 13:54:58 +08:00
build: disable stringop overflow also on gcc12
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b96cf55985
commit
3292256f74
@@ -867,8 +867,8 @@ if(NOT MSVC)
|
||||
endif()
|
||||
else()
|
||||
# gcc only
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13)
|
||||
# Disable specific warnings due to GCC bug for versions >= 13
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 12)
|
||||
# Disable specific warnings due to GCC bug for versions >= 12
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-stringop-overflow")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user