Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2024 09:24:05 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: 110a32afa668 - main - graphics/diplib: Fix compilation failure on i386
Message-ID:  <202404050924.4359O5OD084257@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=110a32afa6685567bb62148338d72d07a0624e1c

commit 110a32afa6685567bb62148338d72d07a0624e1c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-05 09:23:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-05 09:24:03 +0000

    graphics/diplib: Fix compilation failure on i386
    
    Reported by:    fallout
---
 graphics/diplib/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/graphics/diplib/Makefile b/graphics/diplib/Makefile
index 2c4c9d31dfaf..7853e5d54076 100644
--- a/graphics/diplib/Makefile
+++ b/graphics/diplib/Makefile
@@ -25,4 +25,7 @@ CMAKE_OFF=	DIP_BUILD_PYDIP
 CMAKE_TESTING_ON=	DIP_ENABLE_DOCTEST
 CMAKE_TESTING_TARGET=	check # one test fails, see https://github.com/DIPlib/diplib/issues/120
 
+CFLAGS_i386=	-msse2 # fix build failure: error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'defilter_sub4' that is compiled without support for 'sse2'
+CXXFLAGS_i386=	-msse2
+
 .include <bsd.port.mk>



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