commit: 99593ced6745631b7b93d7c0549d01f8e2adda69
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 24 03:00:57 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 24 03:01:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99593ced
games-misc/opengfx: respect CC
Not done CFLAGS (there is CC_USER_FLAGS we could use) given it's
only used for the preprocessor and doing naive CC_USER_FLAGS="${CFLAGS}"
broke compilation.
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-misc/opengfx/opengfx-7.1.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/games-misc/opengfx/opengfx-7.1.ebuild
b/games-misc/opengfx/opengfx-7.1.ebuild
index 1f9cce274688..4302b32d54a5 100644
--- a/games-misc/opengfx/opengfx-7.1.ebuild
+++ b/games-misc/opengfx/opengfx-7.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..13} python3_13t )
-inherit python-any-r1
+inherit python-any-r1 toolchain-funcs
DESCRIPTION="OpenGFX data files for OpenTTD"
HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenGFX
https://github.com/OpenTTD/OpenGFX"
@@ -32,6 +32,7 @@ src_compile() {
myemakeargs=(
GIMP=""
PYTHON="${EPYTHON}"
+ CC="$(tc-getCC)"
# Make logs verbose
_V=