Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 238bd2f8472c14df38a71da05c42a368 > files > 1

lmms-1.1.2-1.mga5.src.rpm

Don't use -Werror because it makes the build too brittle when compiling with
leading-edge compiler versions.

Index: lmms-1.1.2/CMakeLists.txt
===================================================================
--- lmms-1.1.2/CMakeLists.txt
+++ lmms-1.1.2/CMakeLists.txt	2015-02-02 18:48:34.592414787 +0000
@@ -335,7 +335,7 @@
 # set compiler flags
 SET(WERROR_FLAGS "-Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow")
 IF(NOT LMMS_BUILD_APPLE)
-   SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror")
+   #SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror")
 ENDIF()
 
 # Due to a regression in gcc-4.8.X, we need to disable array-bounds check