aports/community/bareos/disable-werror.patch
2022-03-17 15:17:30 +00:00

16 lines
510 B
Diff

diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index 556d30d..2b338af 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -353,8 +353,8 @@ if(developer)
add_definitions("-DDEVELOPER=1")
endif()
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
include(BareosSetVariableDefaults)
option(ENABLE_BCONSOLE "Build bconsole binary" ON)