1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

graphics/diplib: Fix compilation failure on i386

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2024-04-05 02:23:22 -07:00
parent 867d880180
commit 110a32afa6

View File

@ -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>