games-engines/stratagus: Strip -Werror

Closes: https://bugs.gentoo.org/756142
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2020-11-23 00:18:04 +01:00
parent 8024a7110d
commit 50b2e45fc4
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ PATCHES=(
"${FILESDIR}/${PN}"-2.3.0-doc.patch
)
src_prepare() {
sed -i -e 's:-Werror::' CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
# there are in-source switches
use debug && CMAKE_BUILD_TYPE=Debug