dev-libs/cJSON: Drop -Werror

Closes: https://bugs.gentoo.org/781614
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2021-04-08 21:44:26 -04:00
parent 35712a5cf1
commit cdf5f2ffba

View File

@@ -1,4 +1,4 @@
# Copyright 2020 Gentoo Authors
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,6 +15,12 @@ KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
src_prepare() {
cmake_src_prepare
sed -i -e '/-Werror/d' CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DENABLE_CJSON_TEST=$(usex test)