logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository.

shaderc-2018.0_remove_Werror.patch (507B)


      1 diff --git a/cmake/utils.cmake.old b/cmake/utils.cmake
      2 index ed3c733..965c546 100644
      3 --- a/cmake/utils.cmake.old
      4 +++ b/cmake/utils.cmake
      5 @@ -9,7 +9,7 @@ endfunction(shaderc_use_gmock)
      6  
      7  function(shaderc_default_c_compile_options TARGET)
      8    if (NOT "${MSVC}")
      9 -    target_compile_options(${TARGET} PRIVATE -Wall -Werror -fvisibility=hidden)
     10 +    target_compile_options(${TARGET} PRIVATE -Wall -fvisibility=hidden)
     11      if (NOT "${MINGW}")
     12        target_compile_options(${TARGET} PRIVATE -fPIC)
     13      endif()