summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-12-22 20:22:11 -0500
committerIonen Wolkens <ionen@gentoo.org>2021-12-22 20:22:14 -0500
commit6be06084574ab7a2e10a69f4662beb636e678e56 (patch)
treef17112c0abb135ca836cc166f2a6102df92f2eb6 /games-emulation/zsnes
parentmedia-gfx/imv: libgrapheme support for live ebuild (diff)
downloadgentoo-6be06084574ab7a2e10a69f4662beb636e678e56.tar.gz
gentoo-6be06084574ab7a2e10a69f4662beb636e678e56.tar.bz2
gentoo-6be06084574ab7a2e10a69f4662beb636e678e56.zip
games-emulation/zsnes: use more correct CBUILD flags
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation/zsnes')
-rw-r--r--games-emulation/zsnes/zsnes-2.0.9.ebuild3
1 files changed, 2 insertions, 1 deletions
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