commit: 6be06084574ab7a2e10a69f4662beb636e678e56
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 01:22:11 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 01:22:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be06084
games-emulation/zsnes: use more correct CBUILD flags
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-emulation/zsnes/zsnes-2.0.9.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/games-emulation/zsnes/zsnes-2.0.9.ebuild
b/games-emulation/zsnes/zsnes-2.0.9.ebuild
index a948fb8c0346..02f1b45b2615 100644
--- a/games-emulation/zsnes/zsnes-2.0.9.ebuild
+++ b/games-emulation/zsnes/zsnes-2.0.9.ebuild
@@ -42,7 +42,8 @@ src_compile() {
append-cppflags -U_FORTIFY_SOURCE
# used to build and run parsegen at build time (uses zlib wrt BDEPEND)
- local buildcxx="$(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}"
+ tc-export_build_env BUILD_CXX
+ local buildcxx="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_CPPFLAGS}
${BUILD_LDFLAGS}"
use amd64 && multilib_toolchain_setup x86
tc-export CC CXX