diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-28 16:39:24 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-28 16:39:24 +0000 |
commit | 31c522e5ddd35fef80e23c5e1b950efa54463fc5 (patch) | |
tree | 79aff9154cc7301619cfde6c24afc3784a66cb96 /biology/vcflib | |
parent | d3d5afed51d230b394e50ee6d6f992fd73c7b814 (diff) | |
download | freebsd-ports-31c522e5ddd35fef80e23c5e1b950efa54463fc5.zip |
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();
Diffstat (limited to 'biology/vcflib')
-rw-r--r-- | biology/vcflib/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/biology/vcflib/Makefile b/biology/vcflib/Makefile index 83a0db7d70d9..b985c0d3fdbf 100644 --- a/biology/vcflib/Makefile +++ b/biology/vcflib/Makefile @@ -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 |