git: 2832690ab88d - main - audio/kaldi: Fix buiold on i386

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 04:37:42 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2832690ab88d51891ea15dd80236aad662d48550

commit 2832690ab88d51891ea15dd80236aad662d48550
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-12 04:37:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-12 04:37:13 +0000

    audio/kaldi: Fix buiold on i386
    
    ... by adding -msse.
    
    Reported by:    fallout
---
 audio/kaldi/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/kaldi/Makefile b/audio/kaldi/Makefile
index 4101ba83c3b8..40017fa83c14 100644
--- a/audio/kaldi/Makefile
+++ b/audio/kaldi/Makefile
@@ -24,6 +24,8 @@ CMAKE_OFF=	KALDI_BUILD_TEST
 CMAKE_ARGS=	-DPython_EXECUTABLE=${PYTHON_CMD} \
 		-DKALDI_VERSION=${PORTVERSION}
 
+CXXFLAGS_i386=	-msse # SSE is off by default on i386 and compilation fails: /usr/local/include/fst/float-weight.h:99:2: error: "Please compile with -msse -mfpmath=sse, or equivalent."
+
 post-extract:
 	@${FIND} ${WRKSRC} -name "*.orig" -delete