mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
audio/cardinal: fix build on powerpc64le
This commit is contained in:
parent
c31fe5ed6e
commit
ff044512fb
2 changed files with 12 additions and 0 deletions
|
@ -30,6 +30,7 @@ USE_GL= gl
|
|||
SHEBANG_GLOB= *.sh
|
||||
|
||||
CXXFLAGS+= -I${LOCALBASE}/include/pffft
|
||||
CXXFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS
|
||||
LDFLAGS+= -lpffft
|
||||
|
||||
MAKE_ENV= LD_PRELOAD=/usr/lib/libpthread.so # workaround for https://github.com/DISTRHO/Cardinal/issues/128#issuecomment-1030817359
|
||||
|
|
11
audio/cardinal/files/patch-include_neon-compat_pmmintrin.h
Normal file
11
audio/cardinal/files/patch-include_neon-compat_pmmintrin.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- include/neon-compat/pmmintrin.h.orig 2023-08-16 16:08:02 UTC
|
||||
+++ include/neon-compat/pmmintrin.h
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
-#if defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)
|
||||
+#if defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__) || defined(__powerpc64__)
|
||||
# include_next <pmmintrin.h>
|
||||
#else
|
||||
# include "../sse2neon/sse2neon.h"
|
Loading…
Add table
Reference in a new issue