git: 1b44bb905fa6 - main - games/CWR-CE: fix build on powerpc64le

Piotr Kubaj <[email protected]> Sun, 02 Aug 2026 07:09:32 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b44bb905fa6afe491ddbeb82495684af6a85bc6

commit 1b44bb905fa6afe491ddbeb82495684af6a85bc6
Author:     Piotr Kubaj <[email protected]>
AuthorDate: 2026-07-22 10:50:44 +0000
Commit:     Piotr Kubaj <[email protected]>
CommitDate: 2026-08-02 07:09:18 +0000

    games/CWR-CE: fix build on powerpc64le
    
    In file included from /wrkdirs/usr/ports/games/CWR-CE/work/CWR-CE-9abbdf2769f3008d76c47ac0af219388ff0323dc/engine/Poseidon/Foundation/Math/V3QuadsP3.cpp:16:
    /usr/lib/clang/19/include/ppc_wrappers/x86intrin.h:18:2: error: "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
       18 | #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
          |  ^
---
 games/CWR-CE/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games/CWR-CE/Makefile b/games/CWR-CE/Makefile
index 1ad30a6e89a9..2ef97966212d 100644
--- a/games/CWR-CE/Makefile
+++ b/games/CWR-CE/Makefile
@@ -52,6 +52,7 @@ CMAKE_ARGS=	-DVCPKG_MANIFEST_MODE=OFF \
 		-DCMAKE_DISABLE_FIND_PACKAGE_VCPKG=ON
 
 CMAKE_OFF=	POSEIDON_DISABLE_PCH POSEIDON_BUILD_FUZZERS
+CXXFLAGS_powerpc64le=	-DNO_WARN_X86_INTRINSICS
 
 PLIST_FILES=	bin/PoseidonGame \
 		bin/PoseidonGameDemo \