summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-06-20 00:33:22 +0200
committerPiotr Kubaj <pkubaj@FreeBSD.org>2024-06-20 07:18:37 +0200
commit73df2c267e14647e8603d953a3c7ec52f334aa0a (patch)
tree1755ee852c8d7969ab79a53c66b8a64a279ea203
parentnet-p2p/monero-cli: fix build on powerpc64le (diff)
games/pioneer: fix build on !x86
c++: error: unsupported option '-maes' for target 'powerpc64le-unknown-freebsd14.1'
-rw-r--r--games/pioneer/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/pioneer/Makefile b/games/pioneer/Makefile
index 89ae148c0db1..74aa656a451b 100644
--- a/games/pioneer/Makefile
+++ b/games/pioneer/Makefile
@@ -57,6 +57,12 @@ DOCS_SUB_LIST= QUICKSTART_PATH="${DOCSDIR}"
DOCS_SUB_LIST_OFF= QUICKSTART_PATH="https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME}"
PROFILER_CMAKE_BOOL= PROFILER_ENABLED
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+= -DUSE_SSE42:BOOL=OFF
+.endif
+
post-install-DOCS-on:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})