diff options
author | 宋文武 <iyzsong@gmail.com> | 2016-01-06 23:23:26 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2016-01-07 22:47:32 +0800 |
commit | 29e255ca8362212b1a325dc904dd0f2a95140a9d (patch) | |
tree | bd026026b2767400e7f220c8b036c2e5cf6da40f | |
parent | 6dff495580a526cea7df223dd3bc34d81de3d58e (diff) | |
download | guix-29e255ca8362212b1a325dc904dd0f2a95140a9d.tar.gz |
gnu: zita-convolver: Drop the '-march=native' optimization.
* gnu/packages/audio.scm (zita-convolver)[source]: Add snippet.
-rw-r--r-- | gnu/packages/audio.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 7cdf586d1e..ebae5d57d9 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -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")))) |