git: 8b4f066947e9 - 2026Q3 - games/CWR-CE: fix build on powerpc64le

Robert Clausecker <[email protected]> Thu, 06 Aug 2026 09:29:47 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch 2026Q3 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b4f066947e9bb76ba9615dd194140c77052a672

commit 8b4f066947e9bb76ba9615dd194140c77052a672
Author:     Piotr Kubaj <[email protected]>
AuthorDate: 2026-07-22 10:50:44 +0000
Commit:     Robert Clausecker <[email protected]>
CommitDate: 2026-08-06 09:26:57 +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."
          |  ^
    
    (cherry picked from commit 1b44bb905fa6afe491ddbeb82495684af6a85bc6)
---
 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 \