gnu: zita-convolver: Drop the '-march=native' optimization.
* gnu/packages/audio.scm (zita-convolver)[source]: Add snippet.
This commit is contained in:
		
							parent
							
								
									6dff495580
								
							
						
					
					
						commit
						29e255ca83
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -1839,6 +1839,11 @@ result.")
 | 
				
			||||||
                    "http://kokkinizita.linuxaudio.org"
 | 
					                    "http://kokkinizita.linuxaudio.org"
 | 
				
			||||||
                    "/linuxaudio/downloads/zita-convolver-"
 | 
					                    "/linuxaudio/downloads/zita-convolver-"
 | 
				
			||||||
                    version ".tar.bz2"))
 | 
					                    version ".tar.bz2"))
 | 
				
			||||||
 | 
					              (snippet
 | 
				
			||||||
 | 
					               ;; Don't optimize for a specific processor architecture.
 | 
				
			||||||
 | 
					               '(substitute* "libs/Makefile"
 | 
				
			||||||
 | 
					                  (("^CXXFLAGS \\+= -march=native") "")))
 | 
				
			||||||
 | 
					              (modules '((guix build utils)))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
 | 
					                "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue