Skip to content

Commit

Permalink
app-benchmarks/i7z: Enforce -fcommon
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/706690
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Pacho Ramos <[email protected]>
  • Loading branch information
pacho2 committed Mar 11, 2020
1 parent 33ef4bb commit d4f6086
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app-benchmarks/i7z/i7z-93_p20131012-r2.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7
inherit flag-o-matic qmake-utils toolchain-funcs

COMMIT="5023138d7c35c4667c938b853e5ea89737334e92"
Expand All @@ -22,6 +22,7 @@ RDEPEND="
)
"
DEPEND="${RDEPEND}"
BDEPEND=""

PATCHES=(
"${FILESDIR}"/i7z-0.27.2-ncurses.patch
Expand All @@ -40,6 +41,9 @@ PATCHES=(
S="${WORKDIR}/${PN}-${COMMIT}"

src_configure() {
# Workaround to build with gcc-10 until I find a patch
append-cflags -fcommon

tc-export CC PKG_CONFIG
cd GUI || die
use qt5 && eqmake5 ${PN}_GUI.pro
Expand Down

0 comments on commit d4f6086

Please sign in to comment.