git: 110a32afa668 - main - graphics/diplib: Fix compilation failure on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Apr 2024 09:24:05 UTC
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>