diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
commit | 2891d29af8907ce881662f4a02844926d7a293c7 (patch) | |
tree | 56979d96839d0827aa52008b81b746b4934d88df /dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild | |
parent | de49812990871e1705b64051c35161d5e6400269 (diff) |
gentoo resync : 31.12.2018
Diffstat (limited to 'dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild')
-rw-r--r-- | dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild index 3566ee541f7b..31257f30dc02 100644 --- a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild +++ b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild @@ -33,6 +33,13 @@ PATCHES=( "${FILESDIR}/${P}-gcc-7.patch" ) +src_prepare() { + cmake-utils_src_prepare + + sed -i -e 's|-Werror||g' CMakeLists.txt || die + sed -i -e 's|-Werror||g' example/CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( -DRAPIDJSON_BUILD_DOC=$(usex doc) |