1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

games/libretro-pcsx_rearmed: Fix build with llvm16

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-06-26 14:05:37 +02:00
parent 8a3ca86f61
commit a0a49d750d

View File

@ -22,8 +22,14 @@ PLIST_FILES= lib/libretro/pcsx_rearmed_libretro.so
MAKEFILE= Makefile.libretro
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
${INSTALL_LIB} ${WRKSRC}/pcsx_rearmed_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
.include <bsd.port.mk>
.include <bsd.port.post.mk>