* [PATCH 1/2] gnu: zita-resampler: Drop the '-march=native' optimization.
@ 2016-01-06 15:47 宋文武
0 siblings, 0 replies; only message in thread
From: 宋文武 @ 2016-01-06 15:47 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/audio.scm (zita-resampler)[source]: Add snippet.
---
gnu/packages/audio.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index df1f67b..7cdf586 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"))))
--
2.5.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-06 15:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-06 15:47 [PATCH 1/2] gnu: zita-resampler: Drop the '-march=native' optimization 宋文武
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.