git: 3de63cad8274 - main - emulators/sameboy: fix build on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 23 Jul 2022 11:55:08 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3de63cad82747fdb1bdbc98cea5bdbfa39a7c809

commit 3de63cad82747fdb1bdbc98cea5bdbfa39a7c809
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-07-23 11:52:55 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-07-23 11:54:42 +0000

    emulators/sameboy: fix build on powerpc64le
    
    error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
---
 emulators/sameboy/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile
index 3dd321b41aa3..bd849990cbba 100644
--- a/emulators/sameboy/Makefile
+++ b/emulators/sameboy/Makefile
@@ -19,7 +19,7 @@ GH_PROJECT=	SameBoy
 USE_GL=		gl
 USE_SDL=	sdl2
 
-MAKE_ARGS=	FREEDESKTOP=true
+MAKE_ARGS=	FREEDESKTOP=true WARNINGS="-Wno-error"
 ALL_TARGET=	sdl
 
 OPTIONS_DEFINE=		LIBRETRO