gnu: zita-resampler: Drop the '-march=native' optimization.
* gnu/packages/audio.scm (zita-resampler)[source]: Add snippet.
This commit is contained in:
parent
7d3a1a2dd2
commit
6dff495580
|
@ -1881,6 +1881,11 @@ engine.")
|
||||||
"http://kokkinizita.linuxaudio.org"
|
"http://kokkinizita.linuxaudio.org"
|
||||||
"/linuxaudio/downloads/zita-resampler-"
|
"/linuxaudio/downloads/zita-resampler-"
|
||||||
version ".tar.bz2"))
|
version ".tar.bz2"))
|
||||||
|
(snippet
|
||||||
|
;; Don't optimize for a specific processor architecture.
|
||||||
|
'(substitute* '("apps/Makefile" "libs/Makefile")
|
||||||
|
(("^CXXFLAGS \\+= -march=native") "")))
|
||||||
|
(modules '((guix build utils)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
|
"0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
|
||||||
|
|
Loading…
Reference in New Issue