1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

emulators/mednafen: fix build on powerpc64 elfv2

Switch to GCC on powerpc64, clang has already reported issue:
Assertion failed: (!isSigned && "Legalize cannot Expand SINT_TO_FP for i64 yet"), function ExpandLegalINT_TO_FP, file /usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 2420.
This commit is contained in:
Piotr Kubaj 2020-03-22 15:03:39 +00:00
parent e3df36ccea
commit ad78e12cdd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528921

View File

@ -29,7 +29,7 @@ SUB_FILES= pkg-message
CONFIGURE_ARGS+=--disable-alsa --disable-alsatest \
--with-sdl-prefix=${LOCALBASE}
USES= compiler:c++11-lib cpe gl iconv pkgconfig:build sdl tar:xz
USES= cpe gl iconv pkgconfig:build sdl tar:xz
CPE_VENDOR= david_shadoff
OPTIONS_DEFINE= NLS DOCS JACK
@ -72,6 +72,14 @@ SMS_CONFIGURE_ENABLE=sms
SWAN_CONFIGURE_ENABLE=wswan
VB_CONFIGURE_ENABLE=vb
.include <bsd.port.options.mk>
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++11-lib
.endif
post-patch:
@${REINPLACE_CMD} -e 's|versionsort|alphasort|g' \
${WRKSRC}/src/drivers/Joystick_Linux.cpp