summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-09-25 17:59:04 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2025-09-28 11:29:34 +0200
commit8921bf5b397e78af405e28160173a5fe86cadb81 (patch)
treeecbab0a327bba23c179233e5cc9348205c525693
parentaudio/lsp-plugins-lv2: enable on aarch64, armv7 and i386 (diff)
audio/surge-synthesizer-lv2: fix build on aarch64
armv7 should work, but the compiler crashes. Approved by: portmgr (build fix blanket) MFH: 2025Q3 Event: EuroBSDcon Devsummit 2025
-rw-r--r--audio/surge-synthesizer-lv2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/surge-synthesizer-lv2/Makefile b/audio/surge-synthesizer-lv2/Makefile
index 66fc884e3538..a98bb572de63 100644
--- a/audio/surge-synthesizer-lv2/Makefile
+++ b/audio/surge-synthesizer-lv2/Makefile
@@ -12,9 +12,7 @@ WWW= https://surge-synthesizer.github.io/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_aarch64= error: use of undeclared identifier '__builtin_ia32_packssdw'
-BROKEN_armv6= emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64, see https://github.com/surge-synthesizer/surge/issues/6418
-BROKEN_armv7= emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64, see https://github.com/surge-synthesizer/surge/issues/6418
+BROKEN_armv7= fatal error: error in backend: Cannot select: 0x263f6370: v4f32 = froundeven 0x263f4eb0
BROKEN_powerpc= compilation fails due to a problem in the clang header, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276794
BROKEN_powerpc64= compilation fails due to a problem in the clang header, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276794
BROKEN_powerpc64le= compilation fails due to a problem in the clang header, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276794
@@ -58,6 +56,10 @@ GH_TUPLE= \
LDFLAGS+= -lexecinfo
+CMAKE_ARGS_aarch64= -DLINUX_ON_ARM:BOOL=ON
+CMAKE_ARGS_armv7= -DLINUX_ON_ARM:BOOL=ON
+CMAKE_ARGS+= ${CMAKE_ARGS_${ARCH}}
+
BINARY_ALIAS= python=${PYTHON_CMD} # git=false
PORTSCOUT= ignore:1