diff options
Diffstat (limited to 'dev-libs/intel-compute-runtime/files')
-rw-r--r-- | dev-libs/intel-compute-runtime/files/intel-compute-runtime-21.31.20514-no_Werror.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-libs/intel-compute-runtime/files/intel-compute-runtime-21.31.20514-no_Werror.patch b/dev-libs/intel-compute-runtime/files/intel-compute-runtime-21.31.20514-no_Werror.patch new file mode 100644 index 000000000000..bd77b7c4e9ab --- /dev/null +++ b/dev-libs/intel-compute-runtime/files/intel-compute-runtime-21.31.20514-no_Werror.patch @@ -0,0 +1,10 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -868,7 +868,6 @@ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-noexcept-type") # Added for gtest + endif() + endif() +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") + + if(USE_SANITIZE_UB) + check_cxx_compiler_flag(-fsanitize=undefined COMPILER_SUPPORTS_UNDEFINED_BEHAVIOR_SANITIZER) |