pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Disable NEON on aarch64 also on macOS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0484c3017ea
branches:  trunk
changeset: 455896:e0484c3017ea
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Jul 13 16:18:10 2021 +0000

description:
Disable NEON on aarch64 also on macOS to fix M1 build.

diffstat:

 audio/pulseaudio/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 629d5add652a -r e0484c3017ea audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Tue Jul 13 15:35:42 2021 +0000
+++ b/audio/pulseaudio/Makefile Tue Jul 13 16:18:10 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.159 2021/05/24 19:49:08 wiz Exp $
+# $NetBSD: Makefile,v 1.160 2021/07/13 16:18:10 schmonz Exp $
 
 DISTNAME=      pulseaudio-14.2
 PKGREVISION=   3
@@ -67,7 +67,7 @@
 
 # Disable NEON on NetBSD/aarch64 (does not build with pulseaudio 11.1)
 # use of q0 register in aarch64 is considered not valid
-.if !empty(PKGSRC_COMPILER:Mclang) && ${OPSYS} == "NetBSD" && ${MACHINE_CPU} == "aarch64"
+.if !empty(PKGSRC_COMPILER:Mclang) && (${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin") && ${MACHINE_CPU} == "aarch64"
 CONFIGURE_ARGS+=       --disable-neon-opt
 .endif
 



Home | Main Index | Thread Index | Old Index