gnu: zita-alsa-pcmi: Do not build with "-march=native".
* gnu/packages/audio.scm (zita-alsa-pcmi): Do not build with "-march=native". [arguments]<#:phases>: remove '-march=native' form source/Makefile. [properties]: New field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									76e39909e8
								
							
						
					
					
						commit
						3570d092ac
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -44,6 +44,7 @@
 | 
				
			||||||
;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu>
 | 
					;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu>
 | 
				
			||||||
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
 | 
					;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
 | 
				
			||||||
;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
 | 
					;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
 | 
				
			||||||
 | 
					;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -4466,7 +4467,8 @@ provide high-quality sample rate conversion.")
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (substitute* "source/Makefile"
 | 
					             (substitute* "source/Makefile"
 | 
				
			||||||
               (("ldconfig") "true")
 | 
					               (("ldconfig") "true")
 | 
				
			||||||
               (("^LIBDIR =.*") "LIBDIR = lib\n"))
 | 
					               (("^LIBDIR =.*") "LIBDIR = lib\n")
 | 
				
			||||||
 | 
					               (("CXXFLAGS \\+= -march=native") ""))
 | 
				
			||||||
             (chdir "source")
 | 
					             (chdir "source")
 | 
				
			||||||
             #t))
 | 
					             #t))
 | 
				
			||||||
         (add-after 'install 'install-symlink
 | 
					         (add-after 'install 'install-symlink
 | 
				
			||||||
| 
						 | 
					@ -4479,6 +4481,7 @@ provide high-quality sample rate conversion.")
 | 
				
			||||||
          (delete 'configure))))
 | 
					          (delete 'configure))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     (list alsa-lib fftw))
 | 
					     (list alsa-lib fftw))
 | 
				
			||||||
 | 
					    (properties `((tunable? . #t)))
 | 
				
			||||||
    (home-page "https://kokkinizita.linuxaudio.org")
 | 
					    (home-page "https://kokkinizita.linuxaudio.org")
 | 
				
			||||||
    (synopsis "C++ wrapper around the ALSA API")
 | 
					    (synopsis "C++ wrapper around the ALSA API")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue