sci-biology/uchime: workaround failure with GCC 11

Force C++14 for now because we don't really want a large patch for
typedefs.

Closes: https://bugs.gentoo.org/786297
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-06-15 02:35:24 +00:00
parent ab67174af2
commit 9bb2017d31

View File

@@ -4,7 +4,7 @@
EAPI=7
MY_P="${PN}${PV}_src"
inherit cmake
inherit cmake flag-o-matic
DESCRIPTION="Fast, accurate chimera detection"
HOMEPAGE="https://www.drive5.com/usearch/manual/uchime_algo.html"
@@ -13,7 +13,6 @@ SRC_URI="https://www.drive5.com/${PN}/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="debug"
S="${WORKDIR}"/${MY_P}
@@ -21,3 +20,11 @@ src_prepare() {
cp "${FILESDIR}"/CMakeLists.txt . || die
cmake_src_prepare
}
src_configure() {
# "myutils.h: error: reference to byte is ambiguous""
# bug #786297
append-cppflags -std=c++14
cmake_src_configure
}