mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
audio/madronalib: fix build on powerpc64le
Use GCC with its SSE translation: In file included from /wrkdirs/usr/ports/audio/madronalib/work/madronalib-1.6-1016-g103895f/source/DSP/MLDSPMathSSE.h:32: 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();
This commit is contained in:
parent
42421128b8
commit
9845a1e632
@ -13,11 +13,20 @@ BROKEN_i386= error: always_inline function '_mm_load_ps' requires target feature
|
||||
|
||||
LIB_DEPENDS= libjack.so:audio/jack
|
||||
|
||||
USES= cmake compiler:c++11-lib localbase:ldflags perl5
|
||||
USES= cmake localbase:ldflags perl5
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= madronalabs
|
||||
|
||||
CMAKE_ON= LINUX_JACK
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc64le
|
||||
CXXFLAGS+= -DNO_WARN_X86_INTRINSICS
|
||||
USES+= compiler:gcc-c++11-lib
|
||||
.else
|
||||
USES+= compiler:c++11-lib
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user