Date: Sun, 28 Mar 2021 16:39:24 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569399 - head/biology/vcflib Message-ID: <202103281639.12SGdOFL038825@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sun Mar 28 16:39:24 2021 New Revision: 569399 URL: https://svnweb.freebsd.org/changeset/ports/569399 Log: biology/vcflib: fix build on powerpc64le Use GCC for its SSE -> AltiVec translation: In file included from src/ssw.cpp:38: In file included from /usr/lib/clang/11.0.1/include/emmintrin.h:13: In file included from /usr/lib/clang/11.0.1/include/xmmintrin.h:13: /usr/lib/clang/11.0.1/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? __builtin_ia32_emms(); Modified: head/biology/vcflib/Makefile Modified: head/biology/vcflib/Makefile ============================================================================== --- head/biology/vcflib/Makefile Sun Mar 28 14:28:34 2021 (r569398) +++ head/biology/vcflib/Makefile Sun Mar 28 16:39:24 2021 (r569399) @@ -44,6 +44,13 @@ CFLAGS_i386= -msse2 MAKEFILE= ${FILESDIR}/Makefile.external-libs INSTALL_TARGET= install-strip +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc64le +CFLAGS+= -DNO_WARN_X86_INTRINSICS +USES+= compiler:gcc-c++11-lib +.endif + post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libvcflib.so.1 \ ${STAGEDIR}${PREFIX}/lib/libvcflib.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103281639.12SGdOFL038825>