Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37852992
en ru br
ALT Linux repositórios
S:1.2.2-alt3
5.0: 0.4.0-alt2
4.1: 0.3.1-alt3.qa1
4.0: 0.2.0-alt0

Group :: Som
RPM: lmms

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: lmms-1.2.0-no_werror.patch
Download


diff --git a/CMakeLists.txt b/CMakeLists.txt
index 70707f3..3301289 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -430,11 +430,11 @@ ENDIF(LMMS_BUILD_WIN32)
 PKG_CHECK_MODULES(SAMPLERATE REQUIRED samplerate>=0.1.8)
 
 # set compiler flags
-SET(WERROR_FLAGS "-Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow")
-OPTION(USE_WERROR "Add -werror to the build flags. Stops the build on warnings" OFF)
-IF(${USE_WERROR})
-   SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror")
-ENDIF()
+#SET(WERROR_FLAGS "-Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow")
+#OPTION(USE_WERROR "Add -werror to the build flags. Stops the build on warnings" OFF)
+#IF(${USE_WERROR})
+#   SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror")
+#ENDIF()
 
 # Due to a regression in gcc-4.8.X, we need to disable array-bounds check
 IF (CMAKE_COMPILER_IS_GNUCXX AND ((CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "4.8.0") OR (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "4.8.0") OR LMMS_BUILD_WIN32))
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009