dev-games/mygui: remove -Werror

Closes: https://bugs.gentoo.org/927670
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/35898
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alexey Sokolov
2024-03-24 10:06:36 +00:00
committed by Sam James
parent e107b71305
commit 0db2e9bd2c
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Remove -Werror
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -174,7 +174,6 @@ include(Dependencies)
# Set compiler specific build flags
if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
- add_compile_options(-Werror)
if (NOT MYGUI_HIGH_LEVEL_WARNINGS)
add_compile_options(-w)
else ()

View File

@@ -42,6 +42,7 @@ STATIC_BUILD=${WORKDIR}/${P}_build_static
PATCHES=(
"${FILESDIR}"/mygui-3.4.1-build.patch
"${FILESDIR}"/mygui-3.4.1-FHS.patch
"${FILESDIR}"/mygui-3.4.3-werror.patch
)
pkg_setup() {