comms/hydrasdr: fix build on powerpc64*
n file included from /wrkdirs/usr/ports/comms/hydrasdr/work/rfone_host-1.0.2/libhydrasdr/src/iqconverter_float.c:45:
In file included from /usr/lib/clang/19/include/ppc_wrappers/immintrin.h:15:
/usr/lib/clang/19/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
31 | #error \
| ^
This commit is contained in:
@@ -25,4 +25,7 @@ OPTIONS_DEFAULT_i386= SIMD
|
||||
|
||||
SIMD_CFLAGS= -DFREEBSD_USE_SIMD -msse -msse2 -mfpmath=sse -mmmx
|
||||
|
||||
CFLAGS_powerpc64= -DNO_WARN_X86_INTRINSICS -mvsx
|
||||
CFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user