dev-embedded/avarice: workaround build failure with GCC 11

Closes: https://bugs.gentoo.org/788295
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2021-07-29 03:19:31 +01:00
parent 2cdd21f573
commit 3497a6142f
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
1 changed files with 10 additions and 1 deletions

View File

@ -1,8 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
DESCRIPTION="Interface for GDB to Atmel AVR JTAGICE in circuit emulator"
HOMEPAGE="http://avarice.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
@ -13,6 +15,13 @@ KEYWORDS="~amd64 ~x86"
PATCHES=( "${FILESDIR}"/${P}-broken-__unused-macro.patch )
src_configure() {
# bug #788295
append-cxxflags -std=c++14
default
}
src_install() {
default
dodoc doc/*.txt