sci-biology/ucsc-genome-browser: add gcc 10 workaround

Closes: https://bugs.gentoo.org/708064
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2021-03-03 21:17:26 +00:00
parent 7dd124d96f
commit 7352a350f8
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -30,7 +30,12 @@ S="${WORKDIR}/kent"
src_prepare() {
default
use server && webapp_src_preinst
# bug #708064
append-flags -fcommon
sed \
-e 's/-Werror//' \
-e "/COPT/s:=.*$:=${LDFLAGS}:g" \