From a40ed1c5274f867385610bb57ceee75bf4722de9 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Tue, 30 May 2023 09:03:01 +0800 Subject: [PATCH 1/5] intel-compute-runtime: fix build with gcc13 Upstream-Status: Inappropriate Signed-off-by: Anuj Mittal --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e43b4ad76..619243913b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -811,7 +811,7 @@ if(NOT MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-noexcept-type") # Added for gtest endif() endif() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Werror=vla") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=vla") if(USE_SANITIZE_UB) check_cxx_compiler_flag(-fsanitize=undefined COMPILER_SUPPORTS_UNDEFINED_BEHAVIOR_SANITIZER) -- 2.34.1