mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-arcade/xscavenger: fix build with -native-symlinks
wrt bug #739120 with clang/llvm toolchain, it now gets past ld/gcc missing but will fail due to traditional cpp. Can workaround with a gcc exception: IMAKECPP=cpp However will finally fail trivially due a lacking return value in non-void main() that clang doesn't like. Bug: https://bugs.gentoo.org/739120 Closes: https://bugs.gentoo.org/730814 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
b01c676c96
commit
e981521050
@@ -14,7 +14,7 @@ LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="x11-misc/imake"
|
||||
BDEPEND=">=x11-misc/imake-1.0.8-r1"
|
||||
RDEPEND="x11-libs/libXext"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@@ -33,7 +33,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xmkmf || die
|
||||
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
|
||||
IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user