Skip to content

Commit

Permalink
games/libretro-pcsx_rearmed: Fix build with llvm16
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 26, 2023
1 parent 8a3ca86 commit a0a49d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion games/libretro-pcsx_rearmed/Makefile
Expand Up @@ -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>

0 comments on commit a0a49d7

Please sign in to comment.