Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 2026 09:29:47 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Cc:        Piotr Kubaj <pkubaj@FreeBSD.org>
Subject:   git: 8b4f066947e9 - 2026Q3 - games/CWR-CE: fix build on powerpc64le
Message-ID:  <6a74540b.1a7dd.74c34ebd@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2026Q3 has been updated by fuz:

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

commit 8b4f066947e9bb76ba9615dd194140c77052a672
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-07-22 10:50:44 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
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 \


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a74540b.1a7dd.74c34ebd>