gnu: zita-resampler: Drop the '-march=native' optimization.

* gnu/packages/audio.scm (zita-resampler)[source]: Add snippet.
This commit is contained in:
宋文武 2016-01-06 23:04:14 +08:00
parent 7d3a1a2dd2
commit 6dff495580
1 changed files with 5 additions and 0 deletions

View File

@ -1881,6 +1881,11 @@ engine.")
"http://kokkinizita.linuxaudio.org"
"/linuxaudio/downloads/zita-resampler-"
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
(base32
"0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))