Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/zsnes/
Date: Thu, 23 Dec 2021 01:27:59
Message-Id: 1640222534.6be06084574ab7a2e10a69f4662beb636e678e56.ionen@gentoo
1 commit: 6be06084574ab7a2e10a69f4662beb636e678e56
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 23 01:22:11 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 23 01:22:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be06084
7
8 games-emulation/zsnes: use more correct CBUILD flags
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 games-emulation/zsnes/zsnes-2.0.9.ebuild | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/games-emulation/zsnes/zsnes-2.0.9.ebuild b/games-emulation/zsnes/zsnes-2.0.9.ebuild
16 index a948fb8c0346..02f1b45b2615 100644
17 --- a/games-emulation/zsnes/zsnes-2.0.9.ebuild
18 +++ b/games-emulation/zsnes/zsnes-2.0.9.ebuild
19 @@ -42,7 +42,8 @@ src_compile() {
20 append-cppflags -U_FORTIFY_SOURCE
21
22 # used to build and run parsegen at build time (uses zlib wrt BDEPEND)
23 - local buildcxx="$(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}"
24 + tc-export_build_env BUILD_CXX
25 + local buildcxx="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS}"
26
27 use amd64 && multilib_toolchain_setup x86
28 tc-export CC CXX