summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch')
-rw-r--r--net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch b/net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch
new file mode 100644
index 00000000000..f67fb513b45
--- /dev/null
+++ b/net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch
@@ -0,0 +1,11 @@
+--- a/cmake/XRootDOSDefs.cmake
++++ b/cmake/XRootDOSDefs.cmake
+@@ -12,7 +12,7 @@
+ #-------------------------------------------------------------------------------
+ if( CMAKE_COMPILER_IS_GNUCXX )
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
+- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" )
++ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter" )
+ # gcc 4.1 is retarded
+ execute_process( COMMAND ${CMAKE_C_COMPILER} -dumpversion