diff options
Diffstat (limited to 'dev-util/cmake/files/cmake-3.18.0-filter_distcc_warning.patch')
-rw-r--r-- | dev-util/cmake/files/cmake-3.18.0-filter_distcc_warning.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dev-util/cmake/files/cmake-3.18.0-filter_distcc_warning.patch b/dev-util/cmake/files/cmake-3.18.0-filter_distcc_warning.patch deleted file mode 100644 index 07d89ee5e2b4..000000000000 --- a/dev-util/cmake/files/cmake-3.18.0-filter_distcc_warning.patch +++ /dev/null @@ -1,17 +0,0 @@ -https://bugs.gentoo.org/691544 - -Patch-by: Felix W. <felix.wischke@gmail.com> - -Forward-ported from 3.16.5 to 3.18.0 - ---- cmake-3.18.0/Source/Checks/cm_cxx_features.cmake -+++ cmake-3.18.0/Source/Checks/cm_cxx_features.cmake -@@ -36,6 +36,8 @@ - string(REGEX REPLACE "[^\n]*icpc: command line warning #10121: overriding [^\n]*" "" check_output "${check_output}") - # Filter out ld warnings. - string(REGEX REPLACE "[^\n]*ld: warning: [^\n]*" "" check_output "${check_output}") -+ # Filter out distcc. -+ string(REGEX REPLACE "[^\n]*distcc\\[[0-9]+\\][^\n]*[Ww]arning:[^\n]*" "" check_output "${check_output}") - # If using the feature causes warnings, treat it as broken/unavailable. - if(check_output MATCHES "(^|[ :])[Ww][Aa][Rr][Nn][Ii][Nn][Gg]") - set(CMake_HAVE_CXX_${FEATURE} OFF CACHE INTERNAL "TRY_COMPILE" FORCE) |