games-misc/xcruiser: force gcc -E for imake's generation

Requires traditional cpp support and is broken in all sort of ways
with clang-cpp / -E. Can still use clang & friends for everything else.

Ideally these packages need to be built another way or last rited,
imake will just accumulate more problems.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens 2022-09-30 02:09:16 -04:00
parent 335aa76dfa
commit f911aec8db
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334
1 changed files with 2 additions and 1 deletions

View File

@ -18,12 +18,13 @@ RDEPEND="x11-libs/libXaw"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/rman
sys-devel/gcc
x11-misc/gccmakedep
>=x11-misc/imake-1.0.8-r1"
src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die
}
src_compile() {