git: 7e9141f2e1fb - main - games/regoth: fix build on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 23 Oct 2023 16:39:02 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e9141f2e1fb62a7822c4ae51d49299b66f0335c

commit 7e9141f2e1fb62a7822c4ae51d49299b66f0335c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-10-23 16:21:29 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-10-23 16:38:08 +0000

    games/regoth: fix build on powerpc64le
    
    /usr/lib/clang/16/include/ppc_wrappers/xmmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
---
 games/regoth/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games/regoth/Makefile b/games/regoth/Makefile
index bfcc46cc0312..a0cef55d3644 100644
--- a/games/regoth/Makefile
+++ b/games/regoth/Makefile
@@ -40,6 +40,7 @@ GH_TUPLE=	ataulien:bgfx-cmake:9a9b596:bgfxcmake/lib/bgfx-cmake \
 USE_XORG=	ice sm x11 xcursor xext xinerama xrandr
 USE_GL=		gl glu
 CMAKE_ARGS+=	-DREGOTH_BUILD_WITH_SYSTEM_OPENAL:BOOL=YES
+CXXFLAGS_powerpc64le=	-DNO_WARN_X86_INTRINSICS
 LDFLAGS_i386=	-Wl,-znotext
 
 post-extract: