aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-01-12 04:37:13 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-01-12 04:37:13 +0000
commit2832690ab88d51891ea15dd80236aad662d48550 (patch)
tree62db96a701b9828d9598bd1b31b8c96730d4caa5
parentd4f38349e30f8c7bcf721f440e2895ddc83309da (diff)
downloadports-2832690ab88d51891ea15dd80236aad662d48550.tar.gz
ports-2832690ab88d51891ea15dd80236aad662d48550.zip
audio/kaldi: Fix buiold on i386
... by adding -msse. Reported by: fallout
-rw-r--r--audio/kaldi/Makefile2
1 files changed, 2 insertions, 0 deletions
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