diff options
author | 宋文武 <iyzsong@gmail.com> | 2016-01-06 23:04:14 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2016-01-07 22:47:32 +0800 |
commit | 6dff495580a526cea7df223dd3bc34d81de3d58e (patch) | |
tree | 0efaca2ee853d574878c4224c25f4088c4961ea6 /gnu | |
parent | 7d3a1a2dd21b011946094e3c20da4b716c9dd6b6 (diff) | |
download | guix-6dff495580a526cea7df223dd3bc34d81de3d58e.tar guix-6dff495580a526cea7df223dd3bc34d81de3d58e.tar.gz |
gnu: zita-resampler: Drop the '-march=native' optimization.
* gnu/packages/audio.scm (zita-resampler)[source]: Add snippet.
Diffstat (limited to 'gnu')
-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 df1f67bddd..7cdf586d1e 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -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")))) |