git: f3cf689c5a9e - 2024Q2 - misc/arrow-datafusion: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 May 2024 00:26:12 UTC
The branch 2024Q2 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f3cf689c5a9e1cc2c9012ab4c0273b28491a23ea
commit f3cf689c5a9e1cc2c9012ab4c0273b28491a23ea
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-08 15:03:28 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-09 00:26:07 +0000
misc/arrow-datafusion: Fix build on i386
Reported by: fallout
(cherry picked from commit b30f82fec385e3e31cdc3dae99650b6e333cfac4)
---
misc/arrow-datafusion/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/misc/arrow-datafusion/Makefile b/misc/arrow-datafusion/Makefile
index 5533183dd026..a902580bc960 100644
--- a/misc/arrow-datafusion/Makefile
+++ b/misc/arrow-datafusion/Makefile
@@ -19,6 +19,8 @@ GH_ACCOUNT= apache
WRKSRC_SUBDIR= datafusion-cli
+RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
+
CARGO_CRATES= addr2line-0.21.0 \
adler-1.0.2 \
adler32-1.2.0 \