summarylogtreecommitdiffstats
path: root/010-intel-compute-runtime-disable-werror.patch
blob: 2ff6fae1f4af3b0135eaadb997f40258718588ec (plain)
1
2
3
4
5
6
7
8
9
10
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -843,7 +843,6 @@ 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")
 
   if(USE_SANITIZE_UB)
     check_cxx_compiler_flag(-fsanitize=undefined COMPILER_SUPPORTS_UNDEFINED_BEHAVIOR_SANITIZER)