Date: Sun, 21 Jan 2024 19:17:48 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c5001da196d7 - main - audio/kaldi: Unbreak on i386 Message-ID: <202401211917.40LJHmO1054994@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5001da196d78e21aae31258b54b7216add17a7f commit c5001da196d78e21aae31258b54b7216add17a7f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-01-21 19:16:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-01-21 19:16:58 +0000 audio/kaldi: Unbreak on i386 The build looks for the __SSE2_MATH__ macro that clang doesn't define. --- audio/kaldi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/kaldi/Makefile b/audio/kaldi/Makefile index 1de88fcfcb79..2397362e7254 100644 --- a/audio/kaldi/Makefile +++ b/audio/kaldi/Makefile @@ -26,7 +26,7 @@ CMAKE_OFF= KALDI_BUILD_TEST CMAKE_ARGS= -DPython_EXECUTABLE=${PYTHON_CMD} \ -DKALDI_VERSION=${PORTVERSION} -CXXFLAGS_i386= -msse -mfpmath=sse # 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." +CXXFLAGS_i386= -msse -mfpmath=sse -D__SSE2_MATH__ # __SSE2_MATH__ is a gcc-specific macro that the code looks for: https://gcc.gnu.org/legacy-ml/gcc-patches/2002-08/msg01345.html post-extract: @${FIND} ${WRKSRC} -name "*.orig" -delete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401211917.40LJHmO1054994>