summarylogtreecommitdiffstats
path: root/remove-werror.patch
diff options
context:
space:
mode:
authorAdrian Perez de Castro2020-05-12 13:55:45 +0300
committerAdrian Perez de Castro2020-05-12 13:55:45 +0300
commita80eff2f879f1f9d506b94ff4831078630510237 (patch)
treeb908058b9a5e78dcb2cb0ee74c26cb0462b4e68b /remove-werror.patch
parent5194f2bb6a05fc78d6db4afe493d3a4085b8a8b6 (diff)
downloadaur-a80eff2f879f1f9d506b94ff4831078630510237.tar.gz
Bump to version 5.2.3
Diffstat (limited to 'remove-werror.patch')
-rw-r--r--remove-werror.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/remove-werror.patch b/remove-werror.patch
new file mode 100644
index 000000000000..e50ba5ed9614
--- /dev/null
+++ b/remove-werror.patch
@@ -0,0 +1,10 @@
+--- cmake/modules/DispatchCompilerWarnings.cmake.orig 2020-05-12 13:13:59.619689872 +0300
++++ cmake/modules/DispatchCompilerWarnings.cmake 2020-05-12 13:13:35.216171428 +0300
+@@ -2,7 +2,6 @@
+ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
+ # TODO: someone needs to provide the msvc equivalent warning flags
+ else()
+- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
+ add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
+ add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
+