forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-sound/lmms: Drop -Werror (bug #567428).
Package-Manager: portage-2.2.26
- Loading branch information
Jeroen Roovers
committed
Dec 31, 2015
1 parent
9f26206
commit 6772126
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -334,9 +334,6 @@ | ||
|
||
# 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") | ||
-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"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters