mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
games-action/multimc: fix build with clang (-Werror)
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -53,6 +53,11 @@ src_unpack() {
|
||||
mv "${WORKDIR}/quazip-${QUAZIP_VER}" "${S}/libraries/quazip" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
sed -r -i 's/-Werror([a-z=-]+)?//g' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMultiMC_LAYOUT=lin-system
|
||||
|
||||
Reference in New Issue
Block a user