Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37847473
en ru br
ALT Linux repos
S:3.0.0-alt2

Group :: System/Libraries
RPM: lib7zip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: lib7zip-fix-gcc10.patch
Download


diff --git a/lib7zip/CMakeLists.txt b/lib7zip/CMakeLists.txt
index e31f671..6c624b6 100644
--- a/lib7zip/CMakeLists.txt
+++ b/lib7zip/CMakeLists.txt
@@ -39,10 +39,10 @@ SET(P7ZIP_INCLUDE_PATH   "${P7ZIP_SOURCE_DIR}"
 
 
 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
-  set(warnings "-Wall -Wextra -Werror -Wno-unused-parameter -Wno-class-memaccess")
+  set(warnings "-Wall -Wextra -Wno-unused-parameter -Wno-class-memaccess")
   set(no_undefined "-Wl,--no-undefined")
 elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-  set(warnings "-Wall -Wextra -Werror -Wno-inconsistent-missing-override -Wno-unused-parameter")
+  set(warnings "-Wall -Wextra -Wno-inconsistent-missing-override -Wno-unused-parameter")
   set(no_undefined "-Wl,-undefined,error")
 elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
     set(warnings "/W4 /WX /EHsc")
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin