mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Sam James
parent
e107b71305
commit
0db2e9bd2c
12
dev-games/mygui/files/mygui-3.4.3-werror.patch
Normal file
12
dev-games/mygui/files/mygui-3.4.3-werror.patch
Normal 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 ()
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user