[packages/pulseaudio] disable neon on not applicable archs
    atler 
    atler at pld-linux.org
       
    Fri Dec  4 23:25:42 CET 2020
    
    
  
commit 949ffa0dcd972b37daeb548dab82fb7cc408f522
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Dec 4 22:58:08 2020 +0100
    disable neon on not applicable archs
 pulseaudio.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/pulseaudio.spec b/pulseaudio.spec
index 9d6e2b0..a02f4f5 100644
--- a/pulseaudio.spec
+++ b/pulseaudio.spec
@@ -7,6 +7,11 @@
 				# thread, why it's a bad idea
 %bcond_without	lirc		# without lirc module
 %bcond_with	static_libs	# build static libraries
+%bcond_without	neon		# without ARM NEON instructions
+
+%ifnarch armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64
+%undefine       with_neon
+%endif
 
 Summary:	Modular sound server
 Summary(pl.UTF-8):	Modularny serwer dźwięku
@@ -386,6 +391,7 @@ Uzupełnianie parametrów w zsh dla poleceń PulseAudio.
 	--enable-gsettings \
 	--enable-hal-compat \
 	%{!?with_lirc:--disable-lirc} \
+	%{!?with_neon:--disable-neon-opt} \
 	--disable-silent-rules \
 	--enable-static%{!?with_static_libs:=no} \
 	--enable-webrtc-aec \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pulseaudio.git/commitdiff/949ffa0dcd972b37daeb548dab82fb7cc408f522
    
    
More information about the pld-cvs-commit
mailing list