Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2022 17:38:37 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: 87ef7e495e15 - main - math/pffft: Add -msse2 to CFLAGS to fix the build problem on i386
Message-ID:  <202202131738.21DHcbDT035129@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=87ef7e495e15b2699b30a0804b77b65909ba8434

commit 87ef7e495e15b2699b30a0804b77b65909ba8434
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-13 17:16:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-13 17:38:23 +0000

    math/pffft: Add -msse2 to CFLAGS to fix the build problem on i386
---
 math/pffft/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/pffft/Makefile b/math/pffft/Makefile
index 2835b89796ef..315f319f8487 100644
--- a/math/pffft/Makefile
+++ b/math/pffft/Makefile
@@ -20,6 +20,7 @@ CMAKE_ON=	BUILD_SHARED_LIBS INSTALL_PFDSP INSTALL_PFFASTCONV
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == i386
+CFLAGS+=	-msse2
 CXXFLAGS+=	-msse2 # fixes error: always_inline function '_mm_unpacklo_ps' requires target feature 'sse', but would be inlined into function 'pffft_zreorder' that is compiled without support for 'sse'
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202131738.21DHcbDT035129>