summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-12-07 10:10:57 -0800
committerPatrick McLean <chutzpah@gentoo.org>2020-12-07 10:10:57 -0800
commitef31abb67f83d9c121d7a110d74b55500fc99e4e (patch)
tree8ee7197cf146692fe0bba0cfa74506152e7a4042 /dev-libs/cxxopts
parentsys-kernel/raspberrypi-sources: bump to 5.4.79 (non-live!) (diff)
downloadgentoo-ef31abb67f83d9c121d7a110d74b55500fc99e4e.tar.gz
gentoo-ef31abb67f83d9c121d7a110d74b55500fc99e4e.tar.bz2
gentoo-ef31abb67f83d9c121d7a110d74b55500fc99e4e.zip
dev-libs/cxxopts: Remove -Werror (bug #758725)
Closes: https://bugs.gentoo.org/758725 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/cxxopts')
-rw-r--r--dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
index f6af1f7734f9..a12d45e45ebc 100644
--- a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
+++ b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
@@ -21,6 +21,11 @@ DOCS=(
CHANGELOG.md
)
+src_prepare() {
+ sed -r -e 's:-Werror[[:space:]]*::' -i CMakeLists.txt || die
+ cmake_src_prepare
+}
+
src_configure() {
local -a mycmakeopts=(
-DCXXOPTS_BUILD_EXAMPLES=OFF