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

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

View File

@ -1839,6 +1839,11 @@ result.")
"http://kokkinizita.linuxaudio.org"
"/linuxaudio/downloads/zita-convolver-"
version ".tar.bz2"))
(snippet
;; Don't optimize for a specific processor architecture.
'(substitute* "libs/Makefile"
(("^CXXFLAGS \\+= -march=native") "")))
(modules '((guix build utils)))
(sha256
(base32
"14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))